from the startup script /etc/init.d/ssh #! /bin/sh
# /etc/init.d/ssh: start and stop the OpenBSD "secure shell(tm)" daemon test -x /usr/sbin/sshd || exit 0 ( /usr/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0 # forget it if we're trying to start, and /etc/ssh/sshd_not_to_be_run exists if [ -e /etc/ssh/sshd_not_to_be_run ]; then echo "OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run)" exit 0 ... EOF touch /etc/ssh/sshd_not_to_be_run and you are set Marcin Kurc CAD Systems Administrator Cooper-Standard Automotive -----Original Message----- From: Alec [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2002 1:21 PM To: debian-user@lists.debian.org; debian-testing@lists.debian.org Subject: I don't want sshd 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]