mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 16:45:28 +03:00
Merge #67
67: nixos-remote: use installed ssh key also for rsync r=Mic92 a=Mic92 Co-authored-by: Pogobanane <aenderboy@gmx.de>
This commit is contained in:
commit
9b1ebfc3df
@ -308,7 +308,7 @@ if [[ -n ${extra_files-} ]]; then
|
||||
if [[ -d $extra_files ]]; then
|
||||
extra_files="$extra_files/"
|
||||
fi
|
||||
rsync -rlpv -FF -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
|
||||
rsync -rlpv -FF -e "ssh -i \"$ssh_key_dir\"/nixos-remote -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
|
||||
fi
|
||||
|
||||
ssh_ <<SSH
|
||||
|
Loading…
Reference in New Issue
Block a user