ssh [options] [user@]host [command]Arguments explained
- user chooses remote username.
- host is the remote name or IP.
- -p chooses port.
- -i chooses identity key.
- -L creates a local tunnel.
Common examples
ssh alex@example.comLogs into example.com as alex.
ssh server.example.com 'uptime'Executes uptime remotely and returns.
| Field | Details |
|---|---|
| Command | ssh |
| Category | Remote Access |
| Primary use | Opens a secure remote shell connection. |
| Syntax | ssh [options] [user@]host [command] |