summaryrefslogtreecommitdiff
path: root/debian/README.Debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-01-16 11:44:11 +0000
committerColin Watson <cjwatson@debian.org>2005-01-16 11:44:11 +0000
commitf691fd334c6b6da500e50a68b817a13714af8f77 (patch)
tree9aeb8adc6f57e628a1bbe5418eaeefcabe515f86 /debian/README.Debian
parent495c1dc5b5b3751c1ff0e0288f6db2b1fd6a1d2b (diff)
Explain how to run sshd from inittab in README.Debian (closes: #147360).
Diffstat (limited to 'debian/README.Debian')
-rw-r--r--debian/README.Debian13
1 files changed, 13 insertions, 0 deletions
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
235fall back to it), to use sftp, or to use some other transfer mechanism such 235fall back to it), to use sftp, or to use some other transfer mechanism such
236as rsync-over-ssh or tar-over-ssh. 236as rsync-over-ssh or tar-over-ssh.
237 237
238Running sshd from inittab
239-------------------------
240
241Some people find it useful to run the sshd server from inittab, to make sure
242that it always stays running. To do this, stop sshd ('/etc/init.d/ssh
243stop'), add the following line to /etc/inittab, and run 'telinit q':
244
245 ss:2345:respawn:/usr/sbin/sshd -D
246
247If you do this, note that you will need to stop sshd being started in the
248normal way ('rm -f /etc/rc[2345].d/S20ssh') and that you will need to
249restart this sshd manually on upgrades.
250
238-- 251--
239Matthew Vernon 252Matthew Vernon
240<matthew@debian.org> 253<matthew@debian.org>