PDA

View Full Version : [ubuntu] SSH not working



Zipster90
May 1st, 2008, 03:46 PM
For some reason my ubuntu server is not allowing me to log into it via ssh. I have openssh-server installed, but when I try to use putty on my Windows machine to ssh into it, it says the connection was refused. How do I fix this? Thanks.

hatoyu
May 1st, 2008, 05:03 PM
same to you
wait reply too

cdenley
May 1st, 2008, 05:18 PM
For some reason my ubuntu server is not allowing me to log into it via ssh. I have openssh-server installed, but when I try to use putty on my Windows machine to ssh into it, it says the connection was refused. How do I fix this? Thanks.

post this output


netstat -tln
sudo ufw status
sudo iptables -L INPUT


Is the windows client on the same local network as the ubuntu server? Is there a firewall or router between them?

Dr Small
May 1st, 2008, 05:59 PM
It is a blocked port either on the system that is hosting the ssh server, on the router (while you are connecting from outside), or both.

Dr Small

Zipster90
May 1st, 2008, 07:32 PM
same to you
wait reply too

?????

Anyway, I'm not at work now, so I'll get those results posted once I get back. Thanks.

cdenley
May 1st, 2008, 07:55 PM
same to you
wait reply too

I think that translates to...

I have the same problem.
I will be waiting for a reply, too.

exaviorn
May 1st, 2008, 08:00 PM
If it is a port blocked go to http://portfoward.com and find your router then select ssh,you will find a good tutorial!!