LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 06-07-2007, 03:50 PM   #1
alexz
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
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,
 
Old 06-07-2007, 04:00 PM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 219

Rep: Reputation: 33
Can you ping Server #1 from your IBM laptop?
 
Old 06-07-2007, 05:41 PM   #3
alexz
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Yes I can ping server # 1 from my laptop.

Thanks,
 
Old 06-08-2007, 12:14 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Does putty connect (so you get a login prompt)? If not, check firewall rules on servers as well as hosts.allow/hosts.deny.
 
Old 06-08-2007, 01:02 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
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.
 
Old 06-08-2007, 12:22 PM   #6
alexz
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login using ssh (via Putty) remotely blinton25 Linux - Software 11 05-27-2007 01:17 AM
Ubuntu 6.06 Server(SSH Setup/Putty) TechMansoor Linux - Networking 1 12-16-2006 09:05 PM
SSH to Redhat server via Internet using Putty pbowrin Linux - Enterprise 4 11-24-2006 09:46 AM
Activating VNC-server from putty (ssh) bulls_i Linux - Networking 4 10-21-2005 07:52 PM
Is there a Putty (SSH GUI) for Linux? Pcghost Linux - Software 10 06-06-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration