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.
|
Code:
alucard@karrde:~$ apt-cache search sshd Code:
apt-get install openssh-server |
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. |
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. |