On Mon, Nov 05, 2007 at 17:44:00 +0000, John O Laoi wrote: > Hello, > I am running etch on a dell laptop. > I recently installed ssh: > aptitude install ssh > and started it: > /etc/init.d/ssh start > yet when I look for open ports with nmap localhost, port 22 is not open. > When I run > # ps -e | grep ssh > I get > 3450 ? 00:00:00 ssh-agent > > # ps aux | grep ssh > john 3450 0.0 0.0 4132 692 ? Ss 09:24 0:00 > /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session > x-session-manager > root 22026 0.0 0.0 2852 712 pts/0 S+ 17:43 0:00 grep ssh
Your sshd is not running; it should be listed at least once in the ps output. > However, I cannot ssh into my host. > The contents of /etc/default/ssh is > > # cat /etc/default/ssh > > # Default settings for openssh-server. This file is sourced by /bin/sh from > # /etc/init.d/ssh. > > # Options to pass to sshd > SSHD_OPTS= > > Any clues? Do you get any error message when you try to start /etc/init.d/ssh? Is there anything in /var/log/daemon.log? Does the sshd-blocking file /etc/ssh/sshd_not_to_be_run exist on your system? > Also, how do I check the status of a service? > On SUSE, I used > /etc/init.d/service-name status -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]