LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   openssh connection refused (https://www.linuxquestions.org/questions/linux-networking-3/openssh-connection-refused-660920/)

randomman 08-06-2008 12:16 PM

openssh connection refused
 
greetings everyone

i used to be able to ssh to a server at university ... and then for some reason i started getting this message

Quote:

ssh: connect to host [server] port 22: Connection refused
i contacted the administrator and he said that he can ssh fine to the server.

it only happens with this server and other servers on same network. i still can ssh to another server on a different network with no problem.

please, some help

thanx

i am using kubuntu 8.04 on T42 thinkpad

and same happens with sftp

TB0ne 08-06-2008 12:48 PM

You identified the problem yourself....

Quote:

Originally Posted by randomman (Post 3238903)
it only happens with this server and other servers on same network. i still can ssh to another server on a different network with no problem.

You probably don't have a route to that network anymore...either something got hosed up with your address (don't know if you're using DCHP or not), the router/switch further upstream is having a problem, or if something got misconfigured on your system. You don't say if you made any changes, so it's hard to say.

SFTP and SSH both use port 22. Can you telnet/FTP, or use any other protocol to that server to test?

randomman 08-06-2008 01:10 PM

Quote:

Originally Posted by TB0ne (Post 3238939)
You identified the problem yourself....

You probably don't have a route to that network anymore...either something got hosed up with your address (don't know if you're using DCHP or not), the router/switch further upstream is having a problem, or if something got misconfigured on your system. You don't say if you made any changes, so it's hard to say.

SFTP and SSH both use port 22. Can you telnet/FTP, or use any other protocol to that server to test?

thanx for replying

i am using dhcp on wireless

ftp command
ftp: connect: Connection refused

telnet
telnet: Unable to connect to remote host: Connection refused

i am using guarddog for fireall

i dont remember exactly how i caused this problem. it was too late last night and i think i was trying to sftp my folders using dolphin file browser (comes with kde on kubuntu) and then i started getting this problem (i think when i typed the wrong login or server information by mistake)


anyways .... just reset the modem/router and it works fine now. probably was the modem firewall. thanx for the tip. i had a hunch i needed to reset the modem but was too lazy to get off my butt and walk to the modem and do it ... so i chose to waste 10 hours trying resolve the problem ... not the first time i make bad choices :)


All times are GMT -5. The time now is 05:42 PM.