Closed markstos closed 1 year ago
I tried a simpler connection to just connect directly to the bastion host by the IP address:
termscp scp://user@1.2.3.4/
But that also failed with an authentication error, also SSH'ing to the server with key authentication doesn't prompt for a password. The debug logs say:
" couldn't find any ssh key associated to user at 1.2.3.4. Trying with ssh2 config."
But ssh user@1.2.3.4
works. The logs show it has parsed my SSH config file, so clearly there's some feature that's not supported.
My config file also uses the include
directive. I thought maybe that was it.
Anyway, if the feature was published, I could compare.
" couldn't find any ssh key associated to user at 1.2.3.4. Trying with ssh2 config." But ssh user@1.2.3.4 works. The logs show it has parsed my SSH config file, so clearly there's some feature that's not supported.
Fixed in 0.12
Also, I've added the parameters in the user manual for 0.12
Description
It would be helpful if the supported ~/.ssh/.config features were documented, even if it's just a mention that you support all the features that some other library supports.
For example, Today I I tried a syntax like:
The equivalent syntax of
ssh server
works, buttermscp
fails, and it's not clear why.First
termscp
prompted for a password, which the server doesn't require. From a related comment (https://github.com/veeso/termscp/issues/149#issuecomment-1454336706 ), it appears I can just press enter there, so I did.The error I get is "bad address syntax: (Failed to lookup address information: Name or service not known). "
I tried getting debug logs, and got this:
Maybe the issue is that this server uses a bastion host with ProxyCommand, but without knowing which
~/.ssh/config
features are supposed to work, I can't check for myself.