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

Notices

Reply
 
Search this Thread
Old 03-17-2004, 08:45 PM   #1
Sathington
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?

Sath
 
Old 03-17-2004, 09:15 PM   #2
Sathington
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
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Is the SSH server running?
 
Old 03-17-2004, 10:31 PM   #4
Inexactitude
Member
 
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
andrewlkho
Member
 
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
Sathington
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 12

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


Reply


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


All times are GMT -5. The time now is 07:49 PM.

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