update sed for new sshd_config

George Melikov 2018-07-05 09:25:08 +03:00
parent 5ef2deb81e
commit 81816de777
1 changed files with 1 additions and 1 deletions

@ -22,7 +22,7 @@ If you need help, reach out to the community using the [zfs-discuss mailing list
If you have a second system, using SSH to access the target system can be convenient.
$ sudo apt install openssh-server
$ sudo sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/g" \
$ sudo sed -i "s/#PasswordAuthentication yes/PasswordAuthentication yes/g" \
/etc/ssh/sshd_config
$ sudo service ssh restart