Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
|
|
01-12-2007, 07:02 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 3
Rep:
|
SSH: Permission denied, please try again.
Hi all,
i'm having problems with ssh. I have many hosts in a private subnet, and all this hosts have to access a host with a public IP outside the subnet. i've done the correct forwarding in a PC-router which is the default gateway. Every host in the subnet can access the other host with public IP with ping command.
The problem is that some host can do ssh to that public IP properly, but other host, after enter the correct password cannot access the machine:
root@xxx's password:
Permission denied, please try again. what do you think is goig on?
Thanks!!!
|
|
|
01-12-2007, 07:25 AM
|
#2
|
Member
Registered: Sep 2006
Location: Silesia
Distribution: Debian GNU/Linux 4.0, ArchLinux, OpenBSD
Posts: 190
Rep:
|
Check in /etc/ssh/sshd_config if you got PermitRootLogin yes
But remember it is not to safe. It is better to login as normal user and then use su
|
|
|
01-12-2007, 07:41 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Posts: 3
Original Poster
Rep:
|
/etc/ssh/sshd_config is all comented, but like i said before, from some machines i can login as root via ssh and from others i cannot. maybe a problem with pam? i don't know what to do!!!!
|
|
|
01-15-2007, 10:47 PM
|
#4
|
Member
Registered: Jul 2006
Distribution: RHEL, CentOS, PuppyLinux, SuSe, Ubuntu, Debian
Posts: 59
Rep:
|
Not a problem with PAM. If you had a problem with PAM, _none_ of the hosts would be able to login.
Not a problem with the firewall / port forwarding. In either case you wouldn't get the login prompt either.
Have you checked if you can login as a different user from these hosts?
|
|
|
All times are GMT -5. The time now is 03:44 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
|
|