Skip to content

Commit

Permalink
fixed harddisk leak
Browse files Browse the repository at this point in the history
  • Loading branch information
ceremcem authored Jan 14, 2021
1 parent 967cf82 commit 94ea156
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions link-with-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ get_host_fingerprint(){
local file=$(mktemp)
timeout 30 ssh-keyscan -p $port $host 2> /dev/null > $file
ssh-keygen -l -f $file 2> /dev/null | grep ECDSA | awk '{print $2}'
rm "$file"
}

[[ -f $SSH_KEY_FILE ]] || die "No ssh key file found: $SSH_KEY_FILE"
Expand Down

0 comments on commit 94ea156

Please sign in to comment.