LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-14-2006, 10:26 PM   #1
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Rep: Reputation: 15
SSH Question


Once again I'm in need of the help from the good people at LQ!

The problem I have is that I can access a certain Linux RHEL box from a client PuTTy (in this case Win, but the effect is the same on a *Nix box), for example's sake being IP 4.4.4.4 trying to connect to 1.1.1.1.

When I try to access the same box (1.1.1.1) from another machine, let's make it 3.3.3.3, I'm prompted for a password, whereafter I'm just refused access...

I'm convinced the problem is that the sshd settings on the Linux box need adjusting. I've checked the sshd_config file but it's all greek to me. I've also checked the man pages and combed the net, but no help found...

How can I configure 1.1.1.1 to accept ssh connections from 3.3.3.3 too?
 
Old 02-15-2006, 07:25 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It may not be the ssh config file that is the issue. It is possible that the owner of 1.1.1.1 (by the way, is it you?) has locked down SSH access to specific IP addresses using either the iptables firewall or hosts.allow/hosts.deny. Until we know more about how 1.1.1.1 is secured, its going to be tough to give you better advice.
 
Old 02-15-2006, 08:07 AM   #3
Hobbletoe
Member
 
Registered: Sep 2004
Location: Dayton, Oh
Distribution: Linux Mint 17
Posts: 150

Rep: Reputation: 18
While ssh might be locked down some on machine 1.1.1.1, it isn't going to be IPtables, Firewalls, or TCPWrappers (hosts.allow/hosts.deny). If one of those where the issue, then he never would have gotten the prompt for a password, as they would have stopped the packet request before it had gotten to sshd when coming in from 3.3.3.3.

I do think that a little more information would be handy. Exactly what was the message received when you were denied access? Are you trying to access the machine at a time you normally wouldn't from 4.4.4.4 (the sysadmin might have log-ins restricted to certain times of the day)? And are you sure you didn't mis-type the password (sometimes it is the obvious)?
 
Old 02-15-2006, 04:24 PM   #4
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Original Poster
Rep: Reputation: 15
Thanks for the replies so far.

When I get this problem, I'm using remote access from 4.4.4.4 to 3.3.3.3, 4.4.4.4 being able to connect no problem and 3.3.3.3 not being able to 5 seconds later...

From 3.3.3.3, it's as if the password isn't recognized. It just says Access Denied right after entering the password, then it just re-asks for the password. Really frustrating!

Thanks again.
 
Old 02-15-2006, 11:01 PM   #5
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
use ssh -v name@... That will give you the verbose readout at the sending machine. If you have trouble reading the output, post it and I'm sure we can pinpoint the problem.
 
  


Reply



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
SSH question gauge73 Linux - Security 9 07-02-2005 02:37 AM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
SSH Question JockVSJock Slackware 2 11-11-2004 07:00 PM
SSH Question tormentum Linux - Networking 5 12-11-2003 08:00 PM
Help!!! SSH Question mgibbs Linux - Newbie 4 12-30-2002 11:40 AM

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

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