{ 34 comments… read them below or add one }

1 WzrdOfOost August 18, 2006 at 6:52 pm

Nice detailed tutorial. I managed to get it all working. I wrote about it in my blog http://my-linux-server.blogspot.com


2 Tristan Garrett February 25, 2007 at 12:17 am

Very helpful tutorial. Thanks much!



3 Jeremy Roush June 1, 2007 at 11:15 pm

Thanks for the write-up. Odd its not installed by default.


4 Scott Bohler June 17, 2007 at 2:37 am

Thank you! Up-and-running in less than 5 minutes.



5 Krishna October 13, 2007 at 11:42 am

Thanks a lot – this is very helpful


6 Devvrath November 28, 2007 at 4:24 am

where can I find my ip address, I use the wireless network provided to me by my college.
when I do
I get
eth1 inet addr:10.XXX.XXX.XXX
lo inet addr:XXX.XXX.XXX.XXX

now from remote, when I try
ssh @10.XXX.XXX.XXX
its refuse to except my password.

also, from the other blog, i edited /etc/ssh/sshd_config file and I added line

but its still not working. which IP address I am suppose to use.
also, when I open a website, which gives IP address, it shows my IP address as
which is different from 10.XXX.XXX.XXX which i get using “ifconfig”


7 Wilfred September 6, 2008 at 2:10 pm

Great! Thanks for the info, i need to update my sourcelist to begin with the installation.


8 Mafaioz January 12, 2009 at 2:11 pm

Devvrath: Use your external ip, not the local ip, if both you and the server is localy, you can connect to the lokalip of the server, if your not local, use the external ip,


9 Thank You Messages March 4, 2009 at 7:03 pm

thanks for the quality information
however mine still not working
it displays package not available


10 pagan March 7, 2009 at 2:14 pm

why are the ubuntu iso,s so outdated


11 bob khatri May 18, 2009 at 5:57 am

I m enable to install ssh on ubuntu 7.0 any body have idea about it



12 Gang July 1, 2009 at 3:27 pm


My system is isolated from the Internet. How do I get and install OpenSSH in this env?



13 Mikey August 24, 2009 at 12:16 am

Hey all, I can’t seem to get my SSH to let other people connect. It works fine for any local computer on the network but if you try connecting VIA the internet it has connection errors. Does anyone know why? I was told my tunneling needs to be set so i just set tunneling to YES and it still doesn’t work…

Thanks alot! Mikey


14 Dennis September 29, 2009 at 7:09 pm

I have the same problem as Mikey. Anyone have a solution?


15 nixCraft September 29, 2009 at 7:30 pm

@ Dennis

Open port using Firewall. You need to setup port forwarding if you are using DSL/ADSL/Cable internet.


16 Gentjan October 19, 2009 at 10:35 am

Thanks a lot! It’s a great tutorial!


17 indra m n October 21, 2009 at 2:16 am

for home user that’s using DSL/ADSL/similar router, make sure that the port is forwarded to your machine.

for other version that cant run, not sure if this will work:
sudo apt-get update

possibly the record in your ubuntu is not updated yet…


18 binu chandran November 3, 2009 at 9:23 am

This is really great.
Very helpful for me.
Thank you very much.


19 Srj March 9, 2010 at 2:24 pm

I got a problem while establishing Lan between two computers in my room using SSH….
From one computer i can access other, but i cant do the same from the other computer… it gives an error – Cannot display location “sftp://” connection refused by server……. what shd be done please help me out???


20 Ramila Bandara May 5, 2010 at 4:40 am

thanks for the quality information
Very helpful for me.
Thank you very much.


21 Anonymous May 15, 2010 at 5:10 pm

If I follow the steps also it is giving some unrelated error.

To access official Ubuntu documentation, please visit:

0 packages can be updated.
0 updates are security updates.

Last login: Sat May 15 22:34:21 2010 from ash-laptop

Error: Unknown option msgbox.
Use –help to list options.

what should i do ? can u please help me up?


22 Darel October 6, 2010 at 7:46 pm

Installed and works like a charm but how to put ssh daemon in the service so i can start or stop using service sshd start/stop


23 Amrit pal January 15, 2011 at 2:30 pm

when i gave ssh local ,it gave me error as
Couldn’t establish connection to proxy: Network is unreachable
ssh_exchange_identification: Connection closed by remote host

what to do?


24 Const January 19, 2011 at 8:47 am

Thanks for author! Very helpful for nix beginner.


25 f4rr3z January 29, 2011 at 6:27 pm

hello..how to get full tutorial abaout uubuntu server..
it’s ubuntu server coding are different from fedora..??


26 j0s3 February 2, 2011 at 6:58 pm

Great info. Right to the point.


27 ebookhorn March 3, 2011 at 2:54 am

straight forward thanks!!!


28 isaac May 27, 2011 at 10:23 am

hi i am testing SSH on linux and i am having problem connecting to the Linux SERVER. i have a client PC running Putty (shh) and a Linux SSH server (bear box modem). when i try to connect to the SSH server via a PC running Putty connected to my 3G modem i get network error: timeout. Linux box is also connected to a 3G rooter with port 22 forwarded.

when i connect to a PC loaded with Unix or Windows running and loaded with SSH server, i can connet fine with no hassle. using the same setup

can you please help


29 Zoffix Znet August 19, 2011 at 6:08 pm

Well, there was nothing about configuration in this tutorial :/


30 all4naija November 1, 2011 at 2:13 pm

Why not use a utility service with ‘ # sudo service ssh start’ which is more better than initiating init script from a folder with # sudo /etc/init.d/ssh start?


31 Janak Porwal May 12, 2012 at 4:49 pm

Thanks for the quick tutorial… Helpful!


32 Krishna November 20, 2012 at 12:27 pm



33 john January 19, 2013 at 7:25 pm

I installed and now doing a upgrade. My question is. If i want to conenct to it through my local network usign putty cleint. Would i just put in localhost in the host name or do i still have to put in a ip because would that not just try and connect me back to the computer im on or no? or do i use the locak ip for the machine im running my server on? Thanks. also for blind users is there a pack to use for voice to read me what is going on? I was thinking there was but forget how to get it or install it. Any help would be great.


34 Brazilian February 3, 2013 at 2:00 pm

Thank you so much! I really appreciate that!


Leave a Comment

Tagged as: , , , , , , , , , , ,

Previous Faq:

Next Faq: