O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ssh

Securely executes commands on a remote computer

ssh [option] [user@]host [command line]

The ssh utility runs command line on host by starting a shell on the remote system. Without a command line ssh logs you in on the remote computer.

The ssh utility, which can replace rsh and rlogin, provides secure encrypted communications between two machines on an insecure network. For more information, refer to “ssh: Logs in or Runs a Command on a Remote Computer” on page 374.

Arguments

The host is the machine that you want to log in or run a command on. Unless you have one of several kinds of authentication established, ssh prompts you for a username and password for the remote system. When ssh is able to log in automatically, it logs in as the user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required