Make sure permissions are set.

This commit is contained in:
John Internet 2020-01-02 16:00:19 +00:00
parent 9f23357b59
commit 9660fcb269
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/sh
echo "$@" >> ~/.ssh/known_hosts
echo "$@" >> ~/.ssh/known_hosts
chmod 0664 ~/.ssh/known_hosts

View File

@ -1,3 +1,4 @@
#!/bin/sh
truncate -s 0 ~/.ssh/known_hosts
truncate -s 0 ~/.ssh/known_hosts
chmod 0664 ~/.ssh/known_hosts