SSH Login - Linux
This article introduces the SSH command using a Linux OS so you can login to your server.
Once logged in, administration of the server can take place.
Those using Linux will perhaps be more familiar with a terminal so go ahead and open one up - you can use konsole, xterm or any terminal you like.
You will find as you go along that one will be more natural to use - there is no competition, just go with the one that you prefer.
Here's an image of the terminal I use on my main workstation. I use Linux with the KDE desktop and the terminal I prefer is called 'konsole':
To login to my VPS I use the 'ssh' command. I have to tell it some information such as what port to use, what username to use and where to go (the IP address of the server).
Let's say my VPS is configured like so:
SSH port: 30000
username: paul
IP address: 123.45.67.890
To connect I would give the command:
ssh -p 30000 paul@123.45.67.890
So I've told the ssh command to use port 30000, the username is paul and the IP address is 123.45.67.890
If this is the first time you have logged into the server, you will receive a warning similar to this:
The authenticity of host
'[123.45.67.890]:30000 ([123.45.67.890]:30000)' can't be established.
RSA key fingerprint is 45:37:36:d0:be:9c:45:af:2f:2f:2f:2f:8c:8c:8c:ba.
Are you sure you want to continue connecting (yes/no)?
As long as you are sure you have the correct IP address you would answer 'yes' here to add the RSA algorithm to your known_hosts file:
yes
Warning: Permanently added
'[123.45.67.890]:30000' (RSA) to the list of known hosts.
Providing you have entered the correct password and so on, you will now be logged into your server.
PickledOnion
Digg it |
del.icio.us |
reddit |
StumbleUpon

Subscribe to Feed
Article Comments:
dayo 30 Jun, 2007
The procedure for Mac OS X is exactly the same as you have here after you launch Terminal from applications/utilities.
PickledOnion 30 Jun, 2007
Thanks for the confirmation dayo.
PickledOnion.