we want to copy get_authorized_keys, not authorized_keys
This commit is contained in:
parent
e175d088aa
commit
6d56802dbf
2
makeitso
2
makeitso
|
@ -11,7 +11,7 @@ sudo sh -c "echo 'Match User $1
|
|||
AuthorizedKeysCommand /etc/ssh/get_authorized_keys
|
||||
AuthorizedKeysCommandUser authorizedkeysuser' >> /etc/ssh/sshd_config"
|
||||
|
||||
sudo cp authorized_keys /etc/ssh
|
||||
sudo cp get_authorized_keys /etc/ssh
|
||||
|
||||
sudo chmod 755 /etc/ssh/get_authorized_keys
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user