fixed ssh_config to sshd_config

This commit is contained in:
xdrm-brackets 2017-01-21 18:22:38 +01:00
parent 8976f3ae7a
commit 4fdf1365c8
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ step7(){
# (7) Restrict access to pubkey only (no password) # # (7) Restrict access to pubkey only (no password) #
echo " (.) Restrict access to pubkey"; echo " (.) Restrict access to pubkey";
echo "\nAllowGroups\tssh-key\nPasswordAuthentication\tno" | sudo tee -a /mnt/etc/ssh/ssh_config > /dev/null; echo "\nAllowGroups\tssh-key\nPasswordAuthentication\tno" | sudo tee -a /mnt/etc/ssh/sshd_config > /dev/null;
# (8) Set up automatic ssh server at start up # # (8) Set up automatic ssh server at start up #