summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--en/appendix/chroot-install.xml34
2 files changed, 34 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 1d66c142a..28ef20556 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ installation-guide (201312xx) UNRELEASED; urgency=low
* Emphasize about the issue of language/keyboard being by default asked before
disk and network preseeding.
* Mention where filesystems are mounted for preseed commands.
+ * Fix setting up ssh access now that root with password is disabled by
+ default. Closes: #756065.
[ Karsten Merker ]
* Update and extend the "Supported Hardware" section for armel
diff --git a/en/appendix/chroot-install.xml b/en/appendix/chroot-install.xml
index 8d3f8a3b1..e96d76a4e 100644
--- a/en/appendix/chroot-install.xml
+++ b/en/appendix/chroot-install.xml
@@ -614,16 +614,46 @@ instead of <userinput>hd:</userinput>.
</sect2>
<sect2>
-<title>Remote access: Installing SSH and setting a password</title>
+<title>Remote access: Installing SSH and setting up access</title>
<para>
In case you can login to the system via console, you can skip this section. If
the system should be accessible via the network later on, you need to install
-SSH and set a password for root:
+SSH and set up access.
<informalexample><screen>
# aptitude install ssh
+</screen></informalexample>
+
+
+Root login with password is disabled by default, so setting up access can be
+done by setting a password and re-enable root login with password:
+
+<informalexample><screen>
# passwd
+# editor /etc/ssh/sshd_config
+</screen></informalexample>
+
+This is the option to be enabled:
+
+<informalexample><screen>
+PermitRootLogin yes
+</screen></informalexample>
+
+Access can also be set up by adding an ssh key to the root account:
+
+<informalexample><screen>
+# mkdir /root/.ssh
+# cat &lt;&lt; EOF &gt; /root/.ssh/authorized_keys
+ssh-rsa ....
+EOF
+</screen></informalexample>
+
+Lastly, access can be set up by adding a non-root user and setting a password:
+
+<informalexample><screen>
+# adduser joe
+# passwd joe
</screen></informalexample>
</para>
</sect2>