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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-23-2009, 09:10 AM
|
#1
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
strange ssh problem
Hi all....
I have fedora 9 machine with sshd running
when i try to connect to one of my machines in the network say
Code:
ssh gaurav@172.17.70.18
It will take hardly a second to connect...
Whereas for other systems in the same subnet it takes at least 2 minutes to connect...
Why is this so...??
Can anyone help me with this....Any help will be greatly appreciated.
|
|
|
11-23-2009, 09:50 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,329
|
Quote:
Originally Posted by vinaytp
Hi all....
I have fedora 9 machine with sshd running
when i try to connect to one of my machines in the network say
Code:
ssh gaurav@172.17.70.18
It will take hardly a second to connect...
Whereas for other systems in the same subnet it takes at least 2 minutes to connect...
Why is this so...??
Can anyone help me with this....Any help will be greatly appreciated.
|
Who can tell? You don't give any information about your network, where the other systems are, how you're trying to connect (hostname or ip?), or what those other machines are running.
Chances are, you're either having a DNS issue, or your system is trying to do a reverse-lookup on the IP address, and is timing out. Either put the entries in your hosts file, or get up-to-date information in your DNS server.
|
|
|
11-23-2009, 09:56 AM
|
#3
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
Who can tell? You don't give any information about your network, where the other systems are, how you're trying to connect (hostname or ip?), or what those other machines are running.
Chances are, you're either having a DNS issue, or your system is trying to do a reverse-lookup on the IP address, and is timing out. Either put the entries in your hosts file, or get up-to-date information in your DNS server.
|
Hello TB0ne
I got the answer..
Just need to add in /etc/hosts file and restart sshd daemon...
|
|
|
All times are GMT -5. The time now is 05:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|