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:37] – peter | ubuntu:ssh [2023/06/09 16:04] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SSH ====== | ====== SSH ====== | ||
+ | ===== 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. | ||
+ | |||
+ | <WRAP important> | ||
+ | **IMPORTANT: | ||
+ | |||
+ | <code bash> | ||
+ | sudo cp / | ||
+ | </ | ||
+ | |||
+ | ...and | ||
+ | |||
+ | <code bash> | ||
+ | sudo chmod a-w / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **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: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
Line 11: | Line 45: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
Line 25: | Line 63: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
+ | |||
+ | [[Ubuntu: | ||
[[Ubuntu: | [[Ubuntu: | ||
Line 34: | Line 76: | ||
[[Ubuntu: | [[Ubuntu: | ||
- | + | [[Ubuntu:SSH:Two-Factor Authentication (using Google Authenticator)|Two-Factor Authentication (using Google Authenticator)]] | |
- | ---- | + | |
- | + | ||
- | ===== 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.1575495439.txt.gz · Last modified: 2020/07/15 09:30 (external edit)