Debian: Simplify the SSH command

By shortening PasswordAuthentication to Password, we get the same effect
for less typing.

Also, switch to systemctl, since that's what the Live CD uses.  This is
consistent with the installed system.
Richard Laager 2019-04-10 09:01:12 -05:00
parent 6fd5b199ea
commit 323c56a5ba
1 changed files with 2 additions and 3 deletions

@ -24,9 +24,8 @@ If you have a second system, using SSH to access the target system can be conven
$ sudo apt update
$ sudo apt install --yes openssh-server
$ sudo sed -i "s/#PasswordAuthentication yes/PasswordAuthentication yes/g" \
/etc/ssh/sshd_config
$ sudo service ssh restart
$ sudo sed -i "s/#Password/Password/" /etc/ssh/sshd_config
$ sudo systemctl restart ssh
**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`.