Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-30-2009, 12:12 AM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
ssh problem

I have two server use ssh to remote login another server , howerver , when one of server is migratied , the server is unable to use ssh to connect it ( the screen is hold ) , I have already moved the all user's .ssh to new server , but still not work , can advise what is wrong ? thx
Old 03-30-2009, 01:32 AM   #2
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40

I'd like to try and help you, but didn't quite understand what you were trying to explain... Could you try to provide more details?

Old 03-30-2009, 01:34 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Have you got any firewall or tecp wrappers that is blocking the connection to ssh port?
Old 03-30-2009, 03:01 AM   #4
Registered: Jan 2008
Location: Mumbai, india
Posts: 130

Rep: Reputation: 17
can you post the IP address & netmask & default getway info for all the servers u are trying to connect i.e source & destination servers

also check wheather firewall & selinux are enabled

check wheather ssh service is active

check with mii-tool for proper connections
Old 03-30-2009, 03:52 AM   #5
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx replies ,

no firewall is actived.

if I re-setup the ssh ( the normal procedure : ssh-keygen -t rsa , then copy to remote server , .... etc ) , the user can use ssh now , but I have hundreds of users , so I would like to ask except re-setup ssh for all users , what can i do ? thx
Old 03-30-2009, 04:29 AM   #6
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Did you mean to say: I have two servers which log into remotely to a third server.

Which server are you migrating? One of the first two or the third?


Look in the logs of the server after a relocated user tries to log in.

What do you mean by "the screen is hold"?


One thing to check is the permissions of the users' home directories or their .ssh directory or the .ssh/id_rsa file.
Also try logging in as a migrated user using "ssh -vv <username@host>". Post the result. Then check the log on the ssh server.
Do the users now have a new IP or domain name?

Last edited by jschiwal; 03-30-2009 at 04:30 AM.


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
Chroot SSH problem: ssh working, not SFTP & SCP. NaCo Linux - Security 3 02-01-2009 03:23 AM
SSH problem - ssh-add not respond FerkoPica Linux - Security 6 05-07-2006 04:47 PM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 01:34 PM
ssh problem after creating an ssh alias. porotothorpe Linux - General 2 01-25-2006 08:56 PM > Forums > Linux Forums > Linux - Newbie

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