ssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssh [2020/12/20 17:19] – chifek | ssh [2023/09/14 06:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Enabling SSH on Ubuntu | + | [[ssh_keys|ssh_keys]] |
| - | < | ||
| - | sudo apt update | ||
| - | sudo apt install openssh-server | ||
| - | </ | ||
| - | Enter the password when prompted and enter Y to continue with the installation. | + | [[ssh_server|ssh_server]] |
| - | < | ||
| - | |||
| - | You should see something like Active: active (running) | ||
| - | |||
| - | Ubuntu comes with a firewall configuration tool called UFW. If the firewall is enabled on your system, make sure to open the SSH port: | ||
| - | |||
| - | < | ||
| - | |||
| - | |||
| - | ====== Linux/MacOS ====== | ||
| - | |||
| - | |||
| - | **Откройте терминал и выполните команду: | ||
| - | |||
| - | < | ||
| - | |||
| - | На консоль будет выведен следующий диалог: | ||
| - | |||
| - | < | ||
| - | Нажмите на клавишу Enter. | ||
| - | |||
| - | < | ||
| - | Этот шаг можно пропустить. При ответе на этот и следующий вопрос просто нажмите клавишу Enter. | ||
| - | |||
| - | После этого ключ будет создан, | ||
| - | |||
| - | < | ||
| - | Your public key has been saved in / | ||
| - | The key fingerprint is: | ||
| - | 476: | ||
| - | |||
| - | The key's randomart image is: | ||
| - | |||
| - | +--[ RSA 2048]----+ | ||
| - | |||
| - | |+.o. | | ||
| - | |||
| - | |ooE | | ||
| - | |||
| - | |oo | | ||
| - | |||
| - | |o.+.. | ||
| - | |||
| - | |.+.+.. | ||
| - | |||
| - | |....+ | ||
| - | |||
| - | | .o .... | | ||
| - | |||
| - | | . .. . | | ||
| - | |||
| - | | .... | | ||
| - | |||
| - | +-----------------+</ | ||
| - | |||
| - | Далее выполните в терминале команду: | ||
| - | |||
| - | < | ||
ssh.1608484758.txt.gz · Last modified: 2023/09/14 06:06 (external edit)