PDA

View Full Version : [ubuntu] Install and configure openssh



andrew.frederick.jackson
September 11th, 2011, 05:35 PM
i'm new to ubuntu server so please forgive me for my ignorance. i've done a basic installation and have installed openssh using the following command:

sudo apt-get install openssh-server

i'm now trying to remotely login using putty on a windows machine that resides on the same network but i'm unable to do so.

i've been looking through the documentation and searching the internet for step-by-step guide but have not found anything of any use.

any help/advise would be greatly appreaciated!

tom4everitt
September 11th, 2011, 08:35 PM
Hi,

The first thing you want to try after installing openssh-server, is the command


ssh localhost

which will check that server is up and running etc.

If that works, you need to know your user name and the "node name"/"network name"/whatever of your computer.

One way to find out your user name is the command


whoami


One way to find out your computer's node name is


uname -n


In putty the host name of the computer should be: nodename.local (appending .local to your node name).

Try


ssh username@nodename.local


in your Ubuntu terminal, to see that you got user name and host name right.


Good luck - get back if you have further problems!