Name
ssh — stdin stdout - file -- opt --help --version
Synopsis
ssh [options]host[command]
The ssh (Secure Shell)
program securely logs you into a remote machine where you already
have an account:
$ ssh remote.example.com
Alternatively, it can invoke a program on that remote machine without logging you in:
$ ssh remote.example.com who
ssh encrypts all data that
travels across its connection, including your username and password
(which you’ll need to access the remote machine). The SSH protocol
also supports other ways to authenticate, such as public keys and
host IDs. See man sshd for
details.
Useful options
|
| Specify your remote
username; otherwise, $ ssh smith@server.example.com |
|
|
Use a
|
|
|
Allocate a tty on the remote system; useful when trying to run a remote command with an interactive user interface, such as a text editor. |
|
|
Produce verbose output, useful for debugging. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access