Ssh schnelleinstieg

Aus Xinux Wiki
Version vom 21. November 2019, 20:53 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Installation= *apt-get install ssh =Config directory= /etc/ssh =Personal directory= ~/.ssh =Main Config File= Example *cat /etc/ssh/sshd <pre> Port 22 Host…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Installation

  • apt-get install ssh

Config directory

/etc/ssh

Personal directory

~/.ssh

Main Config File

Example

  • cat /etc/ssh/sshd
Port 22
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
PermitRootLogin prohibit-password
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp  /usr/lib/openssh/sftp-server
PasswordAuthentication yes