Debian/Ubuntu: Improve the SSH instructions

Richard Laager 2017-06-09 20:17:36 -05:00
parent 9b2c660d83
commit 826b6841e4
3 changed files with 5 additions and 3 deletions

@ -26,7 +26,7 @@ If you have a second system, using SSH to access the target system can be conven
/etc/ssh/sshd_config
$ 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:

@ -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.
$ passwd
There is no current password; hit enter at that prompt.
$ 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:

@ -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.
$ passwd
There is no current password; hit enter at that prompt.
$ 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: