added imediate run of key download
This commit is contained in:
parent
b66439805e
commit
d676d8d8ae
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ systemctl restart sshd
|
||||||
|
|
||||||
echo "SSH je nyní nastaveno pouze pro přihlašování pomocí klíčů."
|
echo "SSH je nyní nastaveno pouze pro přihlašování pomocí klíčů."
|
||||||
|
|
||||||
|
./update-ssh-keys.sh
|
||||||
|
|
||||||
|
echo "klice aktualizovany"
|
||||||
|
|
||||||
cp ./update-ssh-keys.sh /usr/bin/update-ssh-keys.sh
|
cp ./update-ssh-keys.sh /usr/bin/update-ssh-keys.sh
|
||||||
cp ./config/update-ssh-keys.service /etc/systemd/system/update-ssh-keys.service
|
cp ./config/update-ssh-keys.service /etc/systemd/system/update-ssh-keys.service
|
||||||
cp ./config/update-ssh-keys.timer /etc/systemd/system/update-ssh-keys.timer
|
cp ./config/update-ssh-keys.timer /etc/systemd/system/update-ssh-keys.timer
|
||||||
|
|
Loading…
Reference in a new issue