Conversation
|
Thanks for the report. The "reload" keyword wasn't really meant to be used in a call to Can you provide an example where it fails without this change? I tried connecting through multiple jump hosts where I changed the host, port, and username and it got the right values on each hop, even without this. |
|
You are correct. Thanks |
Port is not INFO:asyncssh:Opening SSH connection to 127.0.0.3, port 22
|
Now it reproduces.
And my fix does not. Anyway - is there a way to run a single unit tests? |
This change fixes an issue when having using alias for tunnel hosts.
The ssh configuration has to be reloaded for the tunnel (alias) to evaluate to the proper values (e.g. User)
I think the unit test needs some additional work, I was unable to assert on something due to lack of values.
It'd be great if it was possible to test the server for logins for this.
e.g.