mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-25 09:45:13 +00:00
Update deploy script
This commit is contained in:
parent
e5e4e9232a
commit
b61a6d4543
@ -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…
Reference in New Issue
Block a user