LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cant SSH from remote network, ping okay (https://www.linuxquestions.org/questions/linux-networking-3/cant-ssh-from-remote-network-ping-okay-563471/)

ajcamp 06-21-2007 09:28 AM

Cant SSH from remote network, ping okay
 
Hi, Tough one - I can't ssh from a remote network into one Linux machine on my network. Here are the symptoms:

1. I can ssh into that machine from another machine on the local network (just can't ssh remotely)
2. I can ssh remotely into all other Linux machines on that network
3. I'm not getting a login prompt (Not a user or passwd problem)
4. /etc/ssh/sshd_config and /etc/ssh/ssh_config are identical on all machines on the network.

?????

Thanks for the help
Andrew

nuxrl 06-21-2007 09:42 AM

Have you checked iptables?
 
Just in case. I have knock daemon running on my server, so incoming traffic to the port where my ssh daemon is listening is intentionally dropped.

ajcamp 06-21-2007 12:05 PM

/etc/pam.d/login
 
I found the problem.

In the file /etc/pam.d/login

there is an entry:

session required pam_limits.so

The library path is pointing ot the 32bit libs for Pam, but pam
is requiring a 64bit lib, so the full path to the 64bit library
was required.

session required /lib64/security/pam_limits.so

This is not intuitively obvious.

Andrew


All times are GMT -5. The time now is 05:27 PM.