Die folgende Konfiguration ist nur ein Beispiel. Hier habe ich einige Einstellungen vorgenommen, die den Betrieb des SSH-Servers etwas sicherer machen.
Port 62233Compression yesAddressFamily inetListenAddress 192.168.9.4Protocol 2AllowUsers <user1> <user2> ...HostKey /etc/ssh/ssh_host_rsa_key# HostKey /etc/ssh/ssh_host_dsa_keyHostKey /etc/ssh/ssh_host_ecdsa_keySyslogFacility AUTHLogLevel INFOLoginGraceTime 120PermitRootLogin noStrictModes yesPubkeyAuthentication yesHostbasedAuthentication noPermitEmptyPasswords noChallengeResponseAuthentication noPasswordAuthentication noKerberosAuthentication noGSSAPIAuthentication noIgnoreRhosts yesIgnoreUserKnownHosts yesX11Forwarding yesX11DisplayOffset 10PrintMotd yesPrintLastLog yesTCPKeepAlive yesAcceptEnv LANG LC_*Subsystem sftp /usr/lib/openssh/sftp-serverUsePAM no