|
219.
|
|
|
To set your OpenSSH to listen on TCP port 2222 instead of the default TCP port 22, change the Port directive as such:
|
|
|
|
Um OpenSSH auf dem TCP Port 2222 auf eingehende Verbindungen horchen zu lassen, anstatt den voreingestellten Port 22 zu verwenden, ändern sie die Konfigurationsanweisung <emphasis>Port</emphasis> wie folgt:
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:109(para)
|
|
220.
|
|
|
Port 2222
|
|
|
|
Port 2222
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:113(para)
|
|
221.
|
|
|
To have <application>sshd</application> allow public key-based login credentials, simply add or modify the line:
|
|
|
|
Um öffentliche Schlüssel zur Identifizierung von Benutzern in <application>sshd</application> zuzulassen, muss die folgende Zeile in der Datei <filename>/etc/ssh/sshd_config</filename> stehen:
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:118(para)
|
|
222.
|
|
|
PubkeyAuthentication yes
|
|
|
|
PubkeyAuthentication yes
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:122(para)
|
|
223.
|
|
|
in the <filename>/etc/ssh/sshd_config</filename> file, or if already present, ensure the line is not commented out.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/network-applications.xml:590(para)
|
|
224.
|
|
|
To make your OpenSSH server display the contents of the <filename>/etc/issue.net</filename> file as a pre-login banner, simply add or modify the line:
|
|
|
|
Beim Aufbau einer Verbindung zeigt die OpenSSH Server-Anwendung dem Client eine Nachricht, die als <emphasis>Banner</emphasis> bezeichnet wird. Der Inhalt dieses Banners wird in einer Datei hinterlegt, die in der Konfigurationsdatei benannt wird. Wenn die Nachricht in der Datei <filename>/etc/issue.net</filename> steht, dann wird mit folgender Zeile:
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:131(para)
|
|
225.
|
|
|
Banner /etc/issue.net
|
|
|
|
Banner /etc/issue.net
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:136(para)
|
|
226.
|
|
|
in the <filename>/etc/ssh/sshd_config</filename> file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/network-applications.xml:602(para)
|
|
227.
|
|
|
After making changes to the <filename>/etc/ssh/sshd_config</filename> file, save the file, and restart the <application>sshd</application> server application to effect the changes using the following command at a terminal prompt:
|
|
|
|
Nachdem Sie Veränderungen an der Konfigurationsdatei <filename>/etc/ssh/sshd_config</filename> vorgenommen haben, müssen Sie die Datei speichern. Durch einen Neustart der Server-Anwendung <application>sshd</application> werden die Änderungen von OpenSSH übernommen. Geben Sie dazu folgenden Befehl in die Befehlszeile ein:
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/remote-administration.xml:144(para)
|
|
228.
|
|
|
sudo /etc/init.d/ssh restart
|
|
|
|
sudo /etc/init.d/ssh restart
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
serverguide/C/security.xml:311(command) serverguide/C/remote-administration.xml:150(command)
|