From 323c56a5baad48078179bd15a3ad827eeae9649f Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 10 Apr 2019 09:01:12 -0500 Subject: [PATCH] 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. --- Debian-Stretch-Root-on-ZFS.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Debian-Stretch-Root-on-ZFS.md b/Debian-Stretch-Root-on-ZFS.md index 07734b4..78b00c3 100644 --- a/Debian-Stretch-Root-on-ZFS.md +++ b/Debian-Stretch-Root-on-ZFS.md @@ -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`.