You are not logged in.
I am trying and failiing to use a legacy host key algorithm with ssh after updating to openssh-9.8p1-1. The upstream Changelog references this document which advises connecting like this but I get the following error:
% ssh -oHostKeyAlgorithms=+ssh-dss -i ~/.ssh/godaddy myuser@my.godaddy.host.com
command-line line 0: Bad key types '+ssh-dss'.
Yet the godaddy host offers ssh-dss:
% ssh -i ~/.ssh/godaddy myuser@my.godaddy.host.com
Unable to negotiate with xxx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-dss,ssh-dss-cert-v01@openssh.com
Any thoughts are appreciated.
Last edited by graysky (2024-07-02 10:07:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
https://www.openssh.com/txt/release-9.8
the DSA signature algorithm is now disabled at compile time.
DSA support may be re-enabled in OpenBSD by setting "DSAKEY=yes"
in Makefile.inc. To enable DSA support in portable OpenSSH, pass
the "--enable-dsa-keys" option to configure.
EDIT: moving to Networking/Server/Protection.
Last edited by WorMzy (2024-07-02 14:12:40)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Thanks WorMzy - missed that.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
My gross solution to this, in case it helps anyone get back to work, is to have a libvirt vm with a distro that has a pinned openssh where ssh-dds still works and proxy jump into the rickety old boxes my org will not update.
Last edited by jeremyjjbrown (2024-07-02 14:23:31)
Offline
@jeremyjjbrown could you add instructions on how to create a vm with libvirt, what distro you use, and how to proxy jump? This is a popular Google result, so instructions would probably be valuable to people. I know they would be for me.
Offline