LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sshd and Debian Lenny (https://www.linuxquestions.org/questions/linux-software-2/sshd-and-debian-lenny-728859/)

apolinsky 05-27-2009 09:54 AM

sshd and Debian Lenny
 
I run an ssh server on most of my Linux machines, Centos 4 & 5, and Slackware, but am having difficulties on Lenny. I searched using apt to find sshd, the normal server daemon, but didn;t locate it. When I went to the gnu web site, I learned that the daemon is a sub portion of openssh which is installed on the machine. I do not see any configuration files to manipulate and start the daemon, and am currently at a loss as to how to proceed. Perhaps someone can help.

AlucardZero 05-27-2009 11:18 AM

Code:

alucard@karrde:~$ apt-cache search sshd
libjsch-java - java secure channel
libjsch-java-doc - java secure channel examples
openssh-server - Secure shell server, an rshd replacement

Code:

apt-get install openssh-server

pljvaldez 05-27-2009 11:22 AM

The configuration files should be under /etc/ssh (or maybe it's sshd, I'm not in front of my box). For starting and stopping the daemon, you just do (as root) /etc/init.d/sshd start (or stop or restart).

To make it start at boot time, you have to add a symlink to the /etc/rc.X/ directory. Debian defaults to runlevel 2. I prefer to install and use sysv-rc-conf, a handy command line interface for managing startup processes. It's a simple "press the spacebar to put an X in the box" kind of interface.

apolinsky 05-27-2009 12:08 PM

Thank you, all. I'll install the openssh-server. I guess I missed that while installing initially.


All times are GMT -5. The time now is 11:45 PM.