NetworkingLesson 34Free preview
Bash Remote Connect (ssh)
This lesson is part of Bash · All levels
Summary
The ssh command opens the terminal session to another computer securely over the network. Once connected, you can run commands on the remote as if you were in front of it. General authentication uses passwords, and it's safer using SSH key pairs.
Key points
- Ssh user@host is connected to another computer
- SSH's port of entry is 22, replaced by -p
- The SSH host command executes one command and then exits.
- The public key is placed in authorized_keys for login without a password
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.