LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh pretends to work but doesn't (https://www.linuxquestions.org/questions/linux-networking-3/ssh-pretends-to-work-but-doesnt-499500/)

miner49er 11-07-2006 02:24 PM

ssh pretends to work but doesn't
 
Hi there all :-)

I have several debian machines at the moment. They all connect to a file server and (through the file server) to the internet.

One machine is being a bit of a pain though, I can't ssh into it from another. I can ssh into the server and from there ssh into said machine but not directly into it. Any ideas why?

All the machines (except the server) are running debian etch and otherwise seem to work great, just this little annoying problem...

Sorry, I should've said what happens when I try and log in. It asks for a password, which I have to get right, then it seems to log in but if I do ls or whatever I appear to still be logged into the original machine. Very strange.


cheers,

miner

bernied 11-08-2006 07:23 AM

A couple of suggestions
- compare the /etc/sshd_config files of the server and the problem child (if you make changes to sshd_config, remember to restart sshd before testing, you don't have to log out of running ssh sessions to do this, in fact it may be better not to if you want to maintain contact after a shoddy edit)
- look in /var/log/auth or similar (on problem machine)
- are you using hosts_allow or similar?


All times are GMT -5. The time now is 06:56 AM.