LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-29-2010, 04:27 PM   #1
ramesh_india2020
Member
 
Registered: Jan 2006
Posts: 39

Rep: Reputation: 1
SSH Connection closed by 78.56.66.66


Hi Friend,

I am to unable to login with SSH. I am getting this error. Please assist me.

ssh root@78.56.66.66
root@78.56.66.66's password:
Connection closed by 78.56.66.66

Thanks,
Ramesh
 
Old 07-29-2010, 04:33 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,335

Rep: Reputation: 144Reputation: 144
Most of the time, the ssh daemon is configured out of the box to not allow root logins. It's considered an insecure practice to allow root logins from ssh and I can't think of a single distro that doesn't disallow ssh root logins by default. The more secure practice is to login as an ordinary non-root user with ssh and after logging in you su to root. I would guess that is what you are running into.
 
Old 07-29-2010, 05:37 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Also: what distro / version?

There are highly useful logs to help narrow down precisely this sort of problem.
 
Old 07-29-2010, 05:53 PM   #4
ramesh_india2020
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 1
Smile

Hi,

Thanks for your prompt reply. Am using the the below version of "SSH-2.0-OpenSSH_3.9p1 " Am having root user only.

Please help me to sort out this problem.

Thanks,
Ramesh.
 
Old 07-30-2010, 01:10 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
As already said, give your distribution at the server. Also, if you have any access at server either physically or through some other person, check at the ssh server if root logins are allowed. If not you need to allow or use other non root user to login via ssh. The later option is the best.
 
  


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 Connection closed by ..... TheBrick Linux - Networking 4 02-10-2010 06:58 AM
SSH Connection Closed only when RSA Keys are present Sburk Linux - Software 3 06-07-2007 03:09 PM
SSH connection closed after username matcal Linux - Security 4 10-24-2005 12:04 PM
ssh connection closed by server m_yates Linux - Security 3 08-10-2005 04:12 PM
rsync thru SSH --- connection unexpectedly closed shawn_t Linux - Networking 4 02-25-2005 03:27 PM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
Advertisement
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