Using Secure Shell (ssh) from the command line
There are times when you need to connect to another server
from the same command window, especially if you are at the
console and don't have PuTTY available (or if you are working
from a MacOS X shell).
On an e-smith console, you'll probably be logged in as the
root user. To attach to another e-smith (or linux) machine,
type:
# ssh machine (IP-number or domainname)
For example, to get into the TechGeeks server:
# ssh www.tech-geeks.org
You will be asked to accept a ssh-key (yes) and will be asked
for the root password on the target machine.
If you need to login as a user other than root:
# ssh machine -l username
Example:
# ssh www.tech-geeks.org -l mdrone
Once again, you should be prompted for a password, and if
successful, you should get a shell.
Or, perhaps you are reading webmail using a MacOS X at some
convention kiosk and get a notice that updates are available
for your e-smith and you need to tap into your machine as
root to do the install. You open a BSD terminal window on
the Mac, only to find that you are logged in as user "guest".
No problem...
# ssh your.esmith.box -l root
When you're PuTTY-less, this is a great way to get
around the world with your fingertips.