From f691fd334c6b6da500e50a68b817a13714af8f77 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 16 Jan 2005 11:44:11 +0000 Subject: Explain how to run sshd from inittab in README.Debian (closes: #147360). --- debian/README.Debian | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'debian/README.Debian') diff --git a/debian/README.Debian b/debian/README.Debian index db867e186..a95bf7c4a 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -235,6 +235,19 @@ Workarounds for this problem are to install scp1 on the server (scp2 will fall back to it), to use sftp, or to use some other transfer mechanism such as rsync-over-ssh or tar-over-ssh. +Running sshd from inittab +------------------------- + +Some people find it useful to run the sshd server from inittab, to make sure +that it always stays running. To do this, stop sshd ('/etc/init.d/ssh +stop'), add the following line to /etc/inittab, and run 'telinit q': + + ss:2345:respawn:/usr/sbin/sshd -D + +If you do this, note that you will need to stop sshd being started in the +normal way ('rm -f /etc/rc[2345].d/S20ssh') and that you will need to +restart this sshd manually on upgrades. + -- Matthew Vernon -- cgit v1.2.3