burnett01-rsync-deployments/hosts-add

4 lines
72 B
Bash

#!/bin/sh
echo "$@" >> ~/.ssh/known_hosts
chmod 0664 ~/.ssh/known_hosts