mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-01 04:42:14 +00:00
Update deploy script
This commit is contained in:
parent
e5e4e9232a
commit
b61a6d4543
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ sudo chmod +x /usr/local/bin/check_keys
|
|||
/usr/local/bin/check_keys
|
||||
|
||||
# Update SSHD to use it..
|
||||
sudo cat "AuthorizedKeysCommand /usr/local/bin/check_keys" >> /etc/ssh/sshd_config
|
||||
sudo cat "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config
|
||||
sudo echo "AuthorizedKeysCommand /usr/local/bin/check_keys" >> /etc/ssh/sshd_config
|
||||
sudo echo "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config
|
||||
|
||||
# Restart for good luck
|
||||
sudo systemctl restart {sshd,ssh}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue