Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-07-2007, 03:50 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2007
Posts: 4
Rep:
|
putty ssh login in Linux server
Hi Guys,
For some reasons I cannot loggin in ONE specific server (call it server # 1) via putty ssh using my IBM laptop running Windows XP. I am able to login using the same laptop into different server(call it server # 2) that is on the same network.
What is interesting I am able to ssh from server # 2 to server # 1.
Any suggestions?
Thanks,
|
|
|
|
06-07-2007, 04:00 PM
|
#2
|
|
Member
Registered: Jan 2005
Distribution: Archlinux, Debian, grml
Posts: 210
Rep:
|
Can you ping Server #1 from your IBM laptop?
|
|
|
|
06-07-2007, 05:41 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2007
Posts: 4
Original Poster
Rep:
|
Yes I can ping server # 1 from my laptop.
Thanks,
|
|
|
|
06-08-2007, 12:14 AM
|
#4
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
Does putty connect (so you get a login prompt)? If not, check firewall rules on servers as well as hosts.allow/hosts.deny.
|
|
|
|
06-08-2007, 01:02 AM
|
#5
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
It's also possible that you aren't listed as a known user in Server #1. This depends on how you authenticate with the server. ( E.g. passwordless logins with your public key being listed in known_users)
Also check the /etc/ssh/sshd_config file for options that may deny you access. Perhaps it uses "AllowUsers" and you aren't listed.
The entries can have the form user@host, where "user" the local user on the server, and host is the remote host you are connecting from. If the host is different, or the hostname can't be resolved via DNS or /etc/hosts, you can be denied that way as well.
If you can log in directly to server 1, or indirectly via server 2, also read the logs (/var/logs/messages or /var/logs/security) for information on the login attempt.
Also, are you trying to login under your username or as root. It is common (and a good practice) to deny root login attempts.
|
|
|
|
06-08-2007, 12:22 PM
|
#6
|
|
LQ Newbie
Registered: Jun 2007
Posts: 4
Original Poster
Rep:
|
Hi Guys,
The problem has been resolved by deleting the saved session in putty and creating a new one.
I guess nothing is perfect when you get a free tool like putty.
Thanks for your suggestions.
Cheers
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:15 AM.
|
|
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
|
|