SSH Client
Version vom 11. April 2026, 13:41 Uhr von Thomas.will (Diskussion | Beiträge) (→User Keys generieren)
Einloggen
xinux@orville:~$ ssh kit@server
The authenticity of host 'server (192.168.16.216)' can't be established. ED25519 key fingerprint is SHA256:GOyaDogwsT3hrFwp3lEelZqiTQ6l3ORN+aSnzwo5Wdg. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'server' (ED25519) to the list of known hosts. kit@server's password: ***** Linux server.it216.int 6.12.73+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.73-1 (2026-02-17) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Oct 23 11:26:23 2025 from 10.81.31.112 kit@server.it216.int:~$
Ausloggen
kit@server.it216.int:~$ exit
logout Connection to server closed.
User Keys generieren
xinux@orville:~$ ssh-keygen
Generating public/private ed25519 key pair. Enter file in which to save the key (/home/xinux/.ssh/id_ed25519): Enter passphrase for "/home/xinux/.ssh/id_ed25519" (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/xinux/.ssh/id_ed25519 Your public key has been saved in /home/xinux/.ssh/id_ed25519.pub The key fingerprint is: SHA256:GgiLput73H6NERA15OBg/pTRYYMnHzEz4dgxRgxQcb0 xinux@orville The key's randomart image is: +--[ED25519 256]--+ | +oB@^= | | o o+%=O. | | .. ==+. . | | . oo. o E | |... ... S | |o + | |. . . . + | | . o . o . | |ooo ... | +----[SHA256]-----+
ssh-copy-id kit@server
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/xinux/.ssh/id_ed25519.pub"
kit@server's password: ******
Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'kit@server'" and check to make sure that only the key(s) you wanted were added.
xinux@orville:~$ ssh kit@server
Enter passphrase for key '/home/xinux/.ssh/id_ed25519': ******