bug#74832: guix copy incorrectly assumes port is 22

2024-12-19 Thread Tomas Volf
Maxim Cournoyer writes: > Hi Tomas, > > Tomas Volf <~@wolfsden.cz> writes: > >> After update to guile-ssh 0.18.0, options passed to the `make-session' >> procedure now take precedence over the configuration file. In few places we >> however had code like `(or port 22)' leading to (in absence of

bug#74832: guix copy incorrectly assumes port is 22

2024-12-18 Thread Maxim Cournoyer
Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > After update to guile-ssh 0.18.0, options passed to the `make-session' > procedure now take precedence over the configuration file. In few places we > however had code like `(or port 22)' leading to (in absence of alternative > port being specified)

bug#74832: guix copy incorrectly assumes port is 22

2024-12-12 Thread Tomas Volf
Hi, Dariqq writes: > Are the (or port 22) clauses in guix/scripts/copy.scm still neccesary? > > From my limited testing removing them fixed the problem and passing a > port of #f will result in 22 being used. Yeah I think you are right. > > This might also be a problem in other places wghere

bug#74832: guix copy incorrectly assumes port is 22

2024-12-12 Thread Dariqq
Hello, Here is bug report number 3 with guile-ssh@0.18. When using a host defined in ~/.ssh/config in the --to/--from argument in guix-copy "send-to-remote-host" and "retrieve-from-remote-host" incorrectly pass the port as 22 to open-ssh-session. This then leads to a failure when trying to