LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2006, 02:24 PM   #1
miner49er
Member
 
Registered: Feb 2006
Location: Bristol, UK
Distribution: Debian
Posts: 76

Rep: Reputation: 15
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

Last edited by miner49er; 11-07-2006 at 02:26 PM.
 
Old 11-08-2006, 07:23 AM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
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?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh passwordless not work sunhui Linux - Security 2 10-04-2006 06:46 AM
why my ssh doesn't work? lisa2005 Linux - Networking 2 08-24-2005 02:20 AM
Ssh Doesn't Work With Cron ? guano2 Linux - Networking 4 08-06-2005 12:57 AM
SSH from work Vindane Linux - Networking 5 05-30-2004 08:06 PM
Can't ssh into my box from work. donk3 Linux - Security 3 08-27-2003 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:34 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