fixed ssh_config to sshd_config
This commit is contained in:
parent
8976f3ae7a
commit
4fdf1365c8
|
@ -206,7 +206,7 @@ step7(){
|
|||
|
||||
# (7) Restrict access to pubkey only (no password) #
|
||||
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 #
|
||||
|
|
Loading…
Reference in New Issue