ubuntu:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:ssh [2019/12/04 21:19] – peter | ubuntu:ssh [2025/05/21 09:50] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SSH ====== | ====== SSH ====== | ||
- | [[SSH: | + | SSH, or Secure Shell, enables users to connect to a remote server securely. |
- | [[SSH: | + | * the main advantage is server authentication, |
- | [[SSH:Configure sshd|Configure sshd]] | + | Here are a few things you need to tweak in order to improve |
- | [[SSH:Configure sshd with multiple authentication factors|Configure sshd with multiple authentication factors]] | + | <WRAP important> |
+ | **IMPORTANT: | ||
- | [[SSH: | + | <code bash> |
+ | sudo cp / | ||
+ | </ | ||
- | [[SSH: | + | ...and |
- | [[SSH: | + | <code bash> |
+ | sudo chmod a-w / | ||
+ | </ | ||
+ | </ | ||
- | [[SSH:Get the host's fingerprint|Get the host's fingerprint]] | + | <WRAP info> |
+ | **NOTE**: Not all of the possible changes mentioned below have to be made. | ||
- | [[SSH: | + | Some changes are not recommended to be made but may offer tighter security depending on your requirements. |
+ | </ | ||
- | [[SSH:Limit user logins|Limit user logins]] | + | ---- |
- | [[SSH:Manage SSH Key File With Passphrase|Manage SSH Key File With Passphrase]] | + | [[Ubuntu:SSH:Agent forwarding|Agent forwarding]] |
- | [[SSH:Override socket-activated SSH|Override socket-activated SSH]] | + | [[Ubuntu:SSH:Blacklist a public key|Blacklist a public key]] |
- | [[SSH: | + | [[Ubuntu: |
- | + | ||
- | [[SSH:Setup SSH Keys|Setup SSH Keys]] | + | |
- | + | ||
- | [[SSH:Test mode|Test mode]] | + | |
- | + | ||
- | [[SSH: | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | [[Ubuntu: | + | |
[[Ubuntu: | [[Ubuntu: | ||
Line 45: | Line 42: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
Line 59: | Line 62: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
Line 68: | Line 75: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | [[Ubuntu: | ||
- | ---- | + | [[Ubuntu:SSH:Use SSH without |
- | + | ||
- | ===== OpenSSH ===== | + | |
- | + | ||
- | OpenSSH is the implementation of the SSH protocol on Ubuntu. | + | |
- | + | ||
- | OpenSSH is recommended for remote login, making backups, remote file transfer via scp or sftp, and much more. SSH is perfect to keep confidentiality and integrity for data exchanged between two networks and systems. | + | |
- | + | ||
- | However, the main advantage is server authentication, | + | |
- | + | ||
- | Here are a few things you need to tweak in order to improve OpenSSH server security: | + | |
- | + | ||
- | Before making any modifications to the **/ | + | |
- | + | ||
- | <code bash> | + | |
- | sudo cp / | + | |
- | </ | + | |
- | + | ||
- | ...and | + | |
- | + | ||
- | <code bash> | + | |
- | sudo chmod a-w / | + | |
- | </ | + | |
- | + | ||
- | **NOTE**: Not all of the possible changes mentioned below have to be made. Some changes are not recommended to be made but may offer tighter security depending on your requirements. | + | |
ubuntu/ssh.1575494341.txt.gz · Last modified: 2020/07/15 09:30 (external edit)