Logging in to Remote Systems with ssh

You might already be using ssh to connect to your Unix system. You can, though, use it to connect to and use practically any other computer system on the Internet (assuming you have rights to log in to it), as Code Listing 12.1 shows.

Code Listing 12.1. Use ssh to connect securely to other systems on the Net.
[jdoe@frazz jdoe]$ ssh server.example.com
jdoe@server's password:
jdoe /home/jdoe $ whoami
jdoe
jdoe /home/jdoe $ uname -a
Linux server.example.com 2.4.19-ac4 #13 SMP
→ Sat Nov 16 05:30:56 MST 2002 i686
→ unknown unknown GNU/Linux
jdoe /home/jdoe $ logout
[jdoe@frazz jdoe]$

To Connect to Another Computer Using ssh:

1.
ssh server.example.com At the shell prompt, type ssh followed by the name of ...

Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.