-
-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow choosing SSH authentication methods #4007
Comments
I'd suggest using verbose mode. eg: |
The output of suggested
It looks like a negotiation issue to me. Besides, this is what OpenSsh 8.8 release notes say:
It would be great if wezterm supported these options .... |
wezterm can only support what the underlying ssh library supports. |
I will try it later when I have access to the box. But am I understanding correctly that in #1262 a support was added for Because the problem in my case happens during host key validation, which is controlled by |
#1262 allowed wezterm to pass PubKeyAcceptedTypes as a parameter when using https://wezfurlong.org/wezterm/config/lua/SshDomain.html |
OK ... because this section of wezterm documentation made me think otherwise:
|
OK, silly me, I think I mixed up openssh and libssh 🤦♂️. It doesn't look like libssh supports I think the fact that wezterm processes P.S. Another workaround I found on Windows is using wezterm with 3rd party ssh clients. For example:
It uses some older version of openssh client bundled with a recent versions of Windows. At least ATM, it has support for ssh-rsa enabled, so the connection works. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Is your feature request related to a problem? Please describe.
I have an old server that only support authentication algorithm [ssh-rsa]. I understand that this algorithm is not secure any more, and openssh disabled support of it by default. So if I try connecting to the server with wezterm, I get:
However, my server is very old and I can't change the method. Also, the server is on internal network, so I am OK with the [ssh-rsa] risks.
Describe the solution you'd like
One of:
add [ssh-rsa] to the list of client algorithms. Probably not good for security.
Allow users to enable additional algorithms by adding support of ssh options -oHostKeyAlgorithms=-ssh-rsa.
Describe alternatives you've considered
I have tried adding options PubkeyAcceptedAlgorithms or PubkeyAcceptedKeyTypes to my
~/.ssh/config
, but it did not make any difference.Connecting with Putty :)
The text was updated successfully, but these errors were encountered: