Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-17-2004, 08:45 PM   #1
LQ Newbie
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 12

Rep: Reputation: 0
SSH PuTTy gives "connection refused"

Hi. I am still new and learning, so try to bear with me. I am trying to login to my Linux computer using SSH, but I get a connection refused message from PuTTy on my windows machine. I can telnet no problem.

Maybe related....when I start VNCServer on my Linux computer and try and connect, no luck. refused. but VNCViewer from Linux to my windows computer works just fine.

Any suggestions?

Old 03-17-2004, 09:15 PM   #2
LQ Newbie
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, I am slowly figuring it out myself. port 22 is closed right now. I just need some instruction on how to open it.
Old 03-17-2004, 10:09 PM   #3
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Is the SSH server running?
Old 03-17-2004, 10:31 PM   #4
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Try running the server, /usr/sbin/sshd /usr/local/sbin/sshd, or just plain sshd, and then see if you're getting any error messages. If you do, post them here and we could help you then.
Old 03-18-2004, 04:44 AM   #5
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
If you can't work out where your sshd is, you can use something like locate, which, or whereis, and then remember that you have to start it as root.
Old 03-18-2004, 05:10 AM   #6
LQ Newbie
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you guys.....all is working fine now


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH issue ""Server unexpectedly closed network connection" Errsta_Fonzarelli Linux - Software 12 05-24-2010 02:35 PM
SSH "Connection Refused" problem when there is no firewall/router involved in Fedora4 d2army Linux - Networking 5 10-04-2005 05:01 PM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 07:49 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration