LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2009, 11:12 PM   #1
ust
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, 12:32 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Hi.

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?


kenneho
 
Old 03-30-2009, 12:34 AM   #3
linuxlover.chaitanya
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, 02:01 AM   #4
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
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, 02:52 AM   #5
ust
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, 03:29 AM   #6
jschiwal
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 03:30 AM.
 
  


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


All times are GMT -5. The time now is 06:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration