Loading Depth Study
Preparing your workspace
SSH is a secure protocol commonly used to access and manage remote systems through an encrypted connection.
Developers often need to connect to a remote Linux server to inspect logs, deploy software, run commands, or troubleshoot an application. SSH commonly uses a username, a host, and an authentication method such as a key pair. Public-key authentication avoids sending a password over the SSH login flow and is commonly used for server access. SSH keys must be protected like other credentials.
A developer can connect to a remote server, inspect an application process, check logs, and restart a service.
ssh user@example-server # After connecting: pwd ls whoami # Copying a file can be done with tools such as scp when appropriate.
The terminal opens a remote shell session on the target server and remote commands can be executed there.