On Thu, Jan 5, 2023 at 11:18 PM Konstantin Olchanski <[email protected]> wrote:
>
> I cannot ssh to SL6 machines from current MacOS or Debian 20 or 22:

SL 6 is obsolete, the upstream RHEL 6 is out of primary support for
more than 2 years. Maybe time to upgrade?


> root@daq00:~# ssh ladd00
> Unable to negotiate with 142.90.111.60 port 22: no matching host key type 
> found. Their offer: ssh-rsa,ssh-dss

Some SSH servers in Microsoft Azure have similar issues.

> Are there updated ssh rpm packages anywhere?
>
> In the mean time, this workaround works for me:
>
> bash-3.2$ ssh -oHostKeyAlgorithms=+ssh-rsa 
> -oPubKeyAcceptedAlgorithms=+ssh-rsa ladd00
> Last login: Thu Jan  5 19:18:20 2023 from daq07.triumf.ca
> ladd00:~$

You can put that in your ~/.ssh/config pointed to that particular server.

> --
> Konstantin Olchanski
> Data Acquisition Systems: The Bytes Must Flow!
> Email: olchansk-at-triumf-dot-ca
> Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada

Reply via email to