Skip to content

Commit

Permalink
using own known_hosts file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerem Cem ASLAN committed Jul 16, 2017
1 parent 1d27906 commit 3006f12
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ if [ $RENDEZVOUS_HOST ]; then
fi

NODE_MOUNT_LINK="$DIR/../NODE_ROOT"

known_hosts_file=$(realpath $DIR/../known_hosts)
touch $known_hosts_file
custom_known_hosts="-o UserKnownHostsFile=$known_hosts_file"

SSH="$SSH $custom_known_hosts"
SSHFS="$SSHFS $custom_known_hosts"

0 comments on commit 3006f12

Please sign in to comment.