Debian/Ubuntu: Improve the SSH instructions
parent
9b2c660d83
commit
826b6841e4
|
@ -26,7 +26,7 @@ If you have a second system, using SSH to access the target system can be conven
|
||||||
/etc/ssh/sshd_config
|
/etc/ssh/sshd_config
|
||||||
$ sudo service ssh restart
|
$ sudo service ssh restart
|
||||||
|
|
||||||
**Hint:** You can find your IP address with `ip addr show scope global`. Then, from your main machine, connect with `ssh user@IP`.
|
**Hint:** You can find your IP address with `ip addr show scope global | grep inet`. Then, from your main machine, connect with `ssh user@IP`.
|
||||||
|
|
||||||
1.3 Become root:
|
1.3 Become root:
|
||||||
|
|
||||||
|
|
|
@ -40,9 +40,10 @@ If you want encryption, LUKS is recommended.
|
||||||
If you have a second system, using SSH to access the target system can be convenient.
|
If you have a second system, using SSH to access the target system can be convenient.
|
||||||
|
|
||||||
$ passwd
|
$ passwd
|
||||||
|
There is no current password; hit enter at that prompt.
|
||||||
$ sudo apt --yes install openssh-server
|
$ sudo apt --yes install openssh-server
|
||||||
|
|
||||||
**Hint:** You can find your IP address with `ip addr show scope global`. Then, from your main machine, connect with `ssh ubuntu@IP`.
|
**Hint:** You can find your IP address with `ip addr show scope global | grep inet`. Then, from your main machine, connect with `ssh ubuntu@IP`.
|
||||||
|
|
||||||
1.4 Become root:
|
1.4 Become root:
|
||||||
|
|
||||||
|
|
|
@ -40,9 +40,10 @@ If you want encryption, LUKS is recommended.
|
||||||
If you have a second system, using SSH to access the target system can be convenient.
|
If you have a second system, using SSH to access the target system can be convenient.
|
||||||
|
|
||||||
$ passwd
|
$ passwd
|
||||||
|
There is no current password; hit enter at that prompt.
|
||||||
$ sudo apt --yes install openssh-server
|
$ sudo apt --yes install openssh-server
|
||||||
|
|
||||||
**Hint:** You can find your IP address with `ip addr show scope global`. Then, from your main machine, connect with `ssh ubuntu@IP`.
|
**Hint:** You can find your IP address with `ip addr show scope global | grep inet`. Then, from your main machine, connect with `ssh ubuntu@IP`.
|
||||||
|
|
||||||
1.4 Become root:
|
1.4 Become root:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue