mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-21 16:23:15 +00:00
Make sure permissions are set.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "$@" >> ~/.ssh/known_hosts
|
echo "$@" >> ~/.ssh/known_hosts
|
||||||
|
chmod 0664 ~/.ssh/known_hosts
|
||||||
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
truncate -s 0 ~/.ssh/known_hosts
|
truncate -s 0 ~/.ssh/known_hosts
|
||||||
|
chmod 0664 ~/.ssh/known_hosts
|
||||||
Reference in New Issue
Block a user