Linux & the Command Line / Servers and scripts
Lesson 25 of 30
SSH
SSH gives you a secure terminal on another machine. Use key-based login instead of passwords, and disable root login over SSH.
Key points
- ssh user@host
- ssh-keygen -t ed25519 makes a key pair
- ssh-copy-id installs your key
ssh-keygen -t ed25519
ssh-copy-id fahad@myserverQuiz · +10 XP
Which is safer for SSH logins?
Log in to save progress and earn XP.