Re: ssh port not opening
On Tue, Nov 06, 2007 at 06:26:46PM -0500, Vikki Roemer wrote: > I'm running Etch, and when I did apt-get install ssh it just installed > the ssh client. I had to install the server separately. $ apt-cache depends ssh ssh Depends: openssh-client Depends: openssh-server If you only got openssh-client then there was some problem. Can you reproduce that? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: ssh port not opening
On Nov 5, 2007 4:35 PM, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > On Mon, Nov 05, 2007 at 09:08:21PM +, John O Laoi wrote: > > "Looks like there's your problem. You don't have openssh-server > > installed." > > > > > > "aptitude install openssh-server > > > > > > This should solve your problems." > > > > > > > > Thanks everyone. That did it. > > I suppose that I should have done > > #aptitude install ssh openssh-server > > in the first place. > > one of the first things I did when you posted was look at `apt-cache > show ssh` and it depends on openssh-server, so that should have been > installed. I'm on sid, so maybe the dependencies are different, but > youmight want to investigate why it didn't get pulled in to your > system. Or what you may have done to inadvertently remove it. I'm running Etch, and when I did apt-get install ssh it just installed the ssh client. I had to install the server separately. -- Vikki Roemer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ssh port not opening
On Mon, Nov 05, 2007 at 09:08:21PM +, John O Laoi wrote: > "Looks like there's your problem. You don't have openssh-server > installed." > > > "aptitude install openssh-server > > > > This should solve your problems." > > > > Thanks everyone. That did it. > I suppose that I should have done > #aptitude install ssh openssh-server > in the first place. one of the first things I did when you posted was look at `apt-cache show ssh` and it depends on openssh-server, so that should have been installed. I'm on sid, so maybe the dependencies are different, but youmight want to investigate why it didn't get pulled in to your system. Or what you may have done to inadvertently remove it. A signature.asc Description: Digital signature
ssh port not opening
"Looks like there's your problem. You don't have openssh-server installed." "aptitude install openssh-server > > This should solve your problems." Thanks everyone. That did it. I suppose that I should have done #aptitude install ssh openssh-server in the first place. John
Re: ssh port not opening
On Monday 05 November 2007, John O Laoi wrote: > # dpkg --get-selections | grep ssh > openssh-client install > openssh-server deinstall > # > > Thanks to everyone for your help. > > Maybe I should remove ssh and reinstall? > aptitude install openssh-server This should solve your problems. John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ssh port not opening
On Mon, Nov 05, 2007 at 07:50:23PM +, John O Laoi wrote: > # dpkg --get-selections | grep ssh > openssh-client install > openssh-server deinstall > # > Looks like there's your problem. You don't have openssh-server installed. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ssh port not opening
"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?" No errors when I do /etc/init.d ssh start # /etc/init.d/ssh stop # /etc/init.d/ssh start # cat /var/log/daemon.log | grep ss # (nothing) # find / -name sshd_not_to_be_run # find / -name ssh_not_to_be_run # (nothing)# find / -name sshd_not_to_be_run vr-etch:/etc/init.d# find / -name ssh_not_to_be_run vr-etch:/etc/init.d# "Do this: dpkg --get-selections | grep ssh and send the results. I am wondering if you have the openssh-server installed. You can get everything by just doing aptitude install ssh." # dpkg --get-selections | grep ssh openssh-client install openssh-server deinstall # Thanks to everyone for your help. Maybe I should remove ssh and reinstall? John
Re: ssh port not opening
On Mon, Nov 05, 2007 at 06:11:28PM +, John O Laoi wrote: > On 11/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > > > > ssh-agent is *not* the program that allows ssh connections. That is > > sshd. It should be started with /etc/ini.d/ssh start as root. Is there > > no output when you do that? Anything in the logs? > > > > > > > > > > > However, I cannot ssh into my host. > > > The contents of /etc/default/ssh is > > > > that's because sshd is not running and needs to be. > > > > But the file /etc/init.d/sshd does not exist. > The only such file in /etc/init.d is ssh. yes. sorry for the confusion there. `/etc/init.d/ssh start` will start the ssh server, which happens to be called sshd. > > > How do I check the logs? ummm... look in /var/log/* A signature.asc Description: Digital signature
Re: ssh port not opening
On Monday 05 November 2007, John O Laoi wrote: > On 11/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > ssh-agent is *not* the program that allows ssh connections. That is > > sshd. It should be started with /etc/ini.d/ssh start as root. Is there > > no output when you do that? Anything in the logs? > > > > > However, I cannot ssh into my host. > > > The contents of /etc/default/ssh is > > > > that's because sshd is not running and needs to be. > > But the file /etc/init.d/sshd does not exist. > The only such file in /etc/init.d is ssh. > > > How do I check the logs? > > John Do this: dpkg --get-selections | grep ssh and send the results. I am wondering if you have the openssh-server installed. You can get everything by just doing aptitude install ssh. John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ssh port not opening
On Mon, Nov 05, 2007 at 17:44:00 +, 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/0S+ 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]
ssh port not opening
On 11/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > > ssh-agent is *not* the program that allows ssh connections. That is > sshd. It should be started with /etc/ini.d/ssh start as root. Is there > no output when you do that? Anything in the logs? > > > > > > > However, I cannot ssh into my host. > > The contents of /etc/default/ssh is > > that's because sshd is not running and needs to be. But the file /etc/init.d/sshd does not exist. The only such file in /etc/init.d is ssh. How do I check the logs? John
Re: ssh port not opening
On Mon, Nov 05, 2007 at 05:44:00PM +, 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/0S+ 17:43 0:00 grep ssh ssh-agent is *not* the program that allows ssh connections. That is sshd. It should be started with /etc/ini.d/ssh start as root. Is there no output when you do that? Anything in the logs? > > > However, I cannot ssh into my host. > The contents of /etc/default/ssh is that's because sshd is not running and needs to be. > > # 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= that file looks just fine. Something else is preventing it from starting. Possibly try starting it from the command line directly, instead of through the initscript so that you can watchmore closely what is happening (and turn up the verbosity etc). > > > Any clues? > > Also, how do I check the status of a service? > On SUSE, I used > /etc/init.d/service-name status some services provide a status option, but not all. ssh does not. If you run the /etc/init.d/service-name without any options, it will provide usage informaitno. A signature.asc Description: Digital signature
ssh port not opening
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/0S+ 17:43 0:00 grep ssh 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? Also, how do I check the status of a service? On SUSE, I used /etc/init.d/service-name status John