Re: I don't want sshd
Alec wrote:
Hi
On one of my Debian boxes, I need ssh, but no sshd. I especially don't want
to RUN sshd. I achieve this by stopping the daemon and removing all symlinks
to /etc/init.d/ssh in /etc/rc?.d/. However, every time ssh package gets
upgraded, I get those symlinks back and sshd restarted. To me, it is a
security concern, since unintended net services are run. Wouldn't it be
better to break ssh and sshd into two separate packages? Right know, at least
in Woody, sshd is part of ssh.
Thanks
Alec
You can run the dpkg-reconfigure sshd or you can do it manually by
writing this file to disk - /etc/ssh/sshd_not_to_be_run which is what
the debconf does when you answer no to the sshd question.
Hope that helps,
Allan Holtzmann
Reply to: