l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Aug 10 14:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] SSH question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] SSH question

(Top posting in this case for flow and order of procedure)

As others have covered different parts, I'll try to avoid repeating what
they have written:

Make sure that the ssh service is running:
$ ps -auxw | grep sshd

Make sure it is listening to the ssh port:
$ netstat -a | grep ssh
should give you something like:
tcp        0      0 *:ssh                   *:*                     LISTEN

Make sure the error in connecting is actually from a filtering rule:
Connected to HOSTNAME.
Escape character is '^]'.

(Now to exit out of this telnet session, press control hold it down and
then press "]" and then press return and you should see:

Then type "quit":
telnet> quit
Connection closed.

If you can't get any response from the telnet, and it just hangs, then you
should first inspect iptables/ipchains and then /etc/hosts.deny as
suggested by Rod and Bill.

If you can connect to the ssh service that is running, and it is ssh that
is disconnecting you, then check out what Pete wrote:

Peter Jay Salzman said:
> Take a look at /etc/ssh.  In particular, /etc/ssh/sshd_config.
> Don't forget about your log files.  Make sure there's nothing in auth or
> syslog.  Doubtful it'll be in messages.  Log files should be the first
> thing you look at, even before Googling.
> Don't forget about ssh options.  Did you know that ssh has a "verbose"
> option?  Check it out.
> Don't forget about tcpdump.  You probably won't learn anything useful
> from it, but you may.  "tcpdump -i ethX tcp port ssh" may tell you
> something interesting.
> As Bill said, you can check out the tcpwrapper files, but I doubt that's
> relevent here.
> Also, please do not start a new thread by replying to an old one and
> changing the subject line.  Many of us use threaded mailers like mutt.
> It's kinda annoying.  Thanks.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!