update sed for new sshd_config
parent
5ef2deb81e
commit
81816de777
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue