summaryrefslogtreecommitdiff
path: root/cs/appendix
diff options
context:
space:
mode:
authorMiroslav Kure <kurem@upcase.inf.upol.cz>2014-08-21 06:12:41 +0000
committerMiroslav Kure <kurem@upcase.inf.upol.cz>2014-08-21 06:12:41 +0000
commit6b2d2f09c793d5e4177b77da991da8685ac9558f (patch)
tree601214cf66b481231298420146dbf2b0a38c3e85 /cs/appendix
parente14b45139b8718fa91e25e6e582b96e37a7f22e9 (diff)
downloadinstallation-guide-6b2d2f09c793d5e4177b77da991da8685ac9558f.zip
[l10n] Update Czech translation of d-i manual
Diffstat (limited to 'cs/appendix')
-rw-r--r--cs/appendix/chroot-install.xml38
1 files changed, 35 insertions, 3 deletions
diff --git a/cs/appendix/chroot-install.xml b/cs/appendix/chroot-install.xml
index e4970a145..fa4f2bf2f 100644
--- a/cs/appendix/chroot-install.xml
+++ b/cs/appendix/chroot-install.xml
@@ -1,5 +1,5 @@
<!-- $Id$ -->
-<!-- original version: 68948 -->
+<!-- original version: 69237 -->
<sect1 id="linux-upgrade">
<title>Jak nainstalovat &debian-gnu; ze stávajícího unixového/linuxového systému</title>
@@ -617,16 +617,48 @@ Na některých počítačích musíte místo <userinput>hd:</userinput> použít
</sect2>
<sect2>
- <title>Vzdálený přístup: Instalace SSH a nastavení hesla</title>
+ <title>Vzdálený přístup: Instalace SSH a nastavení přístupu</title>
<para>
Pokud se do systému můžete přihlásit přes konzoli, můžete tento krok
přeskočit. Jestliže však má být počítač dostupný přes síť, měli byste
-nainstalovat SSH a nastavit heslo uživateli root:
+nainstalovat SSH a nastavit přístup.
<informalexample><screen>
<prompt>#</prompt> <userinput>aptitude install ssh</userinput>
+</screen></informalexample>
+
+Uživatel root má implicitně zakázané přihlášení pomocí hesla. Pokud mu
+chcete povolit přístup pomocí hesla tak, jako to bývalo běžné dříve,
+musíte mu nastavit heslo a povolit přihlášení pomocí hesla:
+
+<informalexample><screen>
<prompt>#</prompt> <userinput>passwd</userinput>
+<prompt>#</prompt> <userinput>editor /etc/ssh/sshd_config</userinput>
+</screen></informalexample>
+
+kde musíte povolit volbu
+
+<informalexample><screen>
+PermitRootLogin yes
+</screen></informalexample>
+
+Přístup můžete moderněji nastavit také přidáním ssh klíče do seznamu
+autorizovaných klíčů uživatele root:
+
+<informalexample><screen>
+<prompt>#</prompt> <userinput>mkdir /root/.ssh</userinput>
+<prompt>#</prompt> <userinput>chmod 700 /root/.ssh</userinput>
+<prompt>#</prompt> <userinput>cat &lt;&lt; EOF &gt; /root/.ssh/authorized_keys</userinput>
+<userinput>ssh-rsa ....</userinput>
+<userinput>EOF</userinput>
+</screen></informalexample>
+
+Poslední možností je dát přístup běžnému uživateli:
+
+<informalexample><screen>
+<prompt>#</prompt> <userinput>adduser franta</userinput>
+<prompt>#</prompt> <userinput>passwd franta</userinput>
</screen></informalexample>
</para>