Ssh: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Geist (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ === '''SSH, FUSE, SSHFS''' === ==== '''SSH STATUS''' ==== ''$ systemctl status ssh '' ''$ ps aux | grep sshd '' ''$ ss | grep -i ssh'' ''$ last -a | grep…“) |
Geist (Diskussion | Beiträge) |
||
Zeile 24: | Zeile 24: | ||
==== '''Login with SSH Key''' ==== | ==== '''Login with SSH Key''' ==== | ||
''$ ssh -i ~/.ssh/KEY user@IP -p 5001'' | ''$ ssh -i ~/.ssh/KEY user@IP -p 5001'' | ||
− |
Version vom 10. Juli 2021, 21:08 Uhr
Inhaltsverzeichnis
SSH, FUSE, SSHFS
SSH STATUS
$ systemctl status ssh $ ps aux | grep sshd $ ss | grep -i ssh $ last -a | grep -i still $ who $ w $ netstat -tnpa | grep 'ESTABLISHED.*sshd' $ ps
$ service ssh status $ netstat -tanup | grep ssh
Create SSH Key
$ ssh-keygen -t ed25519 -b 4096
Copy SSH Key
$ ssh-copy-id -i KEY user@IP $ ssh-copy-id -i ~/.ssh/KEY user@IP
Login with SSH Key
$ ssh -i ~/.ssh/KEY user@IP -p 5001