summaryrefslogtreecommitdiff
path: root/debian/openssh-server.templates.master
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.templates.master')
-rw-r--r--debian/openssh-server.templates.master84
1 files changed, 84 insertions, 0 deletions
diff --git a/debian/openssh-server.templates.master b/debian/openssh-server.templates.master
new file mode 100644
index 000000000..8232252f3
--- /dev/null
+++ b/debian/openssh-server.templates.master
@@ -0,0 +1,84 @@
1Template: ssh/new_config
2Type: boolean
3Default: true
4_Description: Generate new configuration file
5 This version of OpenSSH has a considerably changed configuration file from
6 the version shipped in Debian 'Potato', which you appear to be upgrading
7 from. I can now generate you a new configuration file
8 (/etc/ssh/sshd.config), which will work with the new server version, but
9 will not contain any customisations you made with the old version.
10 .
11 Please note that this new configuration file will set the value of
12 'PermitRootLogin' to yes (meaning that anyone knowing the root password
13 can ssh directly in as root). It is the opinion of the maintainer that
14 this is the correct default (see README.Debian for more details), but you
15 can always edit sshd_config and set it to no if you wish.
16 .
17 It is strongly recommended that you let me generate a new configuration
18 file for you.
19
20Template: ssh/protocol2_only
21Type: boolean
22Default: true
23_Description: Allow SSH protocol 2 only
24 This version of OpenSSH supports version 2 of the ssh protocol, which is
25 much more secure. Disabling ssh 1 is encouraged, however this will slow
26 things down on low end machines and might prevent older clients from
27 connecting (the ssh client shipped with "potato" is affected).
28 .
29 Also please note that keys used for protocol 1 are different so you will
30 not be able to use them if you only allow protocol 2 connections.
31 .
32 If you later change your mind about this setting, README.Debian has
33 instructions on what to do to your sshd_config file.
34
35Template: ssh/use_old_init_script
36Type: boolean
37Default: false
38_Description: Do you want to continue (and risk killing active ssh sessions)?
39 The version of /etc/init.d/ssh that you have installed, is likely to kill
40 all running sshd instances. If you are doing this upgrade via an ssh
41 session, that would be a Bad Thing(tm).
42 .
43 You can fix this by adding "--pidfile /var/run/sshd.pid" to the
44 start-stop-daemon line in the stop section of the file.
45
46Template: ssh/insecure_rshd
47Type: note
48_Description: Warning: rsh-server is installed --- probably not a good idea
49 having rsh-server installed undermines the security that you were probably
50 wanting to obtain by installing ssh. I'd advise you to remove that
51 package.
52
53Template: ssh/insecure_telnetd
54Type: note
55_Description: Warning: telnetd is installed --- probably not a good idea
56 I'd advise you to either remove the telnetd package (if you don't actually
57 need to offer telnet access) or install telnetd-ssl so that there is at
58 least some chance that telnet sessions will not be sending unencrypted
59 login/password and session information over the network.
60
61Template: ssh/encrypted_host_key_but_no_keygen
62Type: note
63_Description: Warning: you must create a new host key
64 There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH
65 can not handle this host key file, and I can't find the ssh-keygen utility
66 from the old (non-free) SSH installation.
67 .
68 You will need to generate a new host key.
69
70Template: ssh/disable_cr_auth
71Type: boolean
72Default: false
73_Description: Disable challenge-response authentication?
74 Password authentication appears to be disabled in your current OpenSSH
75 server configuration. In order to prevent users from logging in using
76 passwords (perhaps using only public key authentication instead) with
77 recent versions of OpenSSH, you must disable challenge-response
78 authentication, or else ensure that your PAM configuration does not allow
79 Unix password file authentication.
80 .
81 If you disable challenge-response authentication, then users will not be
82 able to log in using passwords. If you leave it enabled (the default
83 answer), then the 'PasswordAuthentication no' option will have no useful
84 effect unless you also adjust your PAM configuration in /etc/pam.d/ssh.