LinuxQuestions.org
Help answer threads with 0 replies.
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 12-12-2007, 02:41 AM   #1
lee_elginlinux
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Talking ssh connection refused


hello to all. i'm new i linux and in my job a i'm a technical support and linux servers are the ones that we are using. i must learn linux well in order to pursue my work and also i find it interesting with this linux thing. so i hope you can help me alot...
i know few commands in linux terminal, and also alot dont know. pls help.
first, my machine and my officemates machine are ubuntu installed. i tried to connect him through ssh but the message says like this....root@lee:~#


ssh rodel@192.168.1.171
ssh: connect to host 192.168.1.171 port 22: Connection refused

i all erady installed ssh-server... before i can connect but when my officemates reformats his machine, i can no longer connect through ssh. pls help. and more power linux team....
 
Old 12-12-2007, 06:02 AM   #2
libregeek
Member
 
Registered: Oct 2005
Posts: 47

Rep: Reputation: 15
May be you are using key based authentication and probably while re-installing, you may have lost the private keys. Tell your server admin to provide you the new ssh keys.
 
Old 12-12-2007, 06:14 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Log in as a regular user instead. For one thing, root should be disabled unless you have two servers automatically replicating, or something similar. Secondly, root logins are disabled in Ubuntu. I don't use Ubuntu, so maybe disabling PAM (UsePAM no in /etc/ssh/sshd_conf) and using rsa or dsa keys for authentication would bypass this issue. For logging in manually, it is best to log into a regular account and use sudo. The root account is one that hackers will bang against in a brute force attack.
 
Old 12-12-2007, 07:03 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
connection, refused, ssh


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 Connection Refused? lowpro2k3 Linux - Networking 2 11-04-2009 11:02 AM
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 04:38 PM
ssh - connection refused Murdock1979 Linux - Networking 1 11-22-2006 11:21 PM
SSH Connection Refused meping Linux - Networking 9 04-15-2006 01:04 AM
ssh connection refused rguptatx Red Hat 4 11-13-2003 06:18 PM


All times are GMT -5. The time now is 07:18 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