restart
This commit is contained in:
parent
c160c94292
commit
48573beddd
2
index.sh
2
index.sh
@ -52,3 +52,5 @@ chmod +x /usr/local/bin/ldap-ssh-key
|
|||||||
|
|
||||||
echo "AuthorizedKeysCommand /usr/local/bin/ldap-ssh-key" >> /etc/ssh/sshd_config
|
echo "AuthorizedKeysCommand /usr/local/bin/ldap-ssh-key" >> /etc/ssh/sshd_config
|
||||||
echo "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config
|
echo "AuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
|
service ssh restart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user