This commit is contained in:
hendrenj 2016-07-19 11:22:35 -06:00
parent 9ab0d4b554
commit a6760dd8e7
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ module VagrantPlugins
if test -f ~/.ssh/authorized_keys; then
grep -v -x -f '#{remote_path}' ~/.ssh/authorized_keys > ~/.ssh/authorized_keys.tmp
mv ~/.ssh/authorized_keys.tmp ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
fi
rm -f '#{remote_path}'