You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ssh_ "chmod 755 /mnt"# rsync also changes permissions of /mnt
Looking at the logs pertaining to rsync, we see ssh: connect to host 0.0.10.40 port 22: Connection timed out. That's not the IP address that was specified... but if you convert the first hextet of the IPv6 address, 2600, to IPv4 octets you do indeed get 10.40 ($2600 = 10*256^1 + 40*256^0$).
I think that because rsync uses a colon (:) to delimit the remote from the destination path, it's being tripped up by the colons in the IPv6 address.
I'm using the
1.1.0
release.Here's my invocation:
My configuration files are here: https://github.com/connorbaker/nixos-configs.
The script appears to work up to the point where it tries to copy the extra files over:
At that point it errors out. However, I can ssh into the machine and see that it is still running, albeit without the extra files copied over.
Here are the relevant lines in the script:
nixos-anywhere/src/nixos-anywhere.sh
Lines 450 to 455 in 7973a36
Looking at the logs pertaining to$2600 = 10*256^1 + 40*256^0$ ).
rsync
, we seessh: connect to host 0.0.10.40 port 22: Connection timed out
. That's not the IP address that was specified... but if you convert the first hextet of the IPv6 address, 2600, to IPv4 octets you do indeed get10.40
(I think that because
rsync
uses a colon (:
) to delimit the remote from the destination path, it's being tripped up by the colons in the IPv6 address.Here's a similar post which describes a solution: https://serverfault.com/questions/420158/how-do-i-use-rsync-with-an-ipv6-address-via-ssh. In short, use brackets (
[]
) to enclose the IPv6 address.The text was updated successfully, but these errors were encountered: