SSH

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hansPLUGd@LuftHans.com
Date:  
Subject: SSH
Am 10. Mar, 2001 schwäzte Lucas Vogel so:

> > ps auxwww | grep ssh
> >
> > You should get an entry for sshd.
>
> I tried this command and it didn't bring up anything. I then tried using the
> /sbin/init.d/sshd file(by executing it directly) and it seemed to start up.


Yeah, rpm seems to not automagically start the service. I think debian
used to do that too. I figure I'm installing it cuz I want to run it
:). Then again having a way to install and not autostart is good...

> The only way I could verify that, however, was by doing an /sbin/init.d/sshd
> status, which brings up 3 PIDs that I can't ps to confirm...I'm assuming
> that it's running.


Try "ps -ef" instead of "ps aux". If it's running you should be able to
see it. You're not using mandrake with a high security setting, are you?

> When I try to connect with putty, I get a syslog writeout saying that the
> kernel accepted on port 22, but putty says the connection was refused. I'm
> not sure how to configure putty...all I'm trying to do for now is to run a
> secure telnet/ftp session.


Sounds like you're getting a connection. If it were tcpwrapper or some
such refusing it, you should get info in your logs. I presume you're
looking at all the different logfiles.

Try sshing from your box to itself. Turn on verbose messaging and see if
it tells you where the hangup is.

ciao,

der.hans
--
#     home.pages.de/~lufthans/   www.YourCompanyHere.net ;-)
# HERE LIES LESTER MOORE
# SHOT 4 TIMES WITH A .44
# NO LES
# NO MOORE
#        -- tombstone, in Tombstone, AZ