Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] SSH set up issues



On 2025-05-07 08:39 +0100 (Wed), Darren Cook wrote:

>    Host 192.1.2.3
>       HostName 192.1.2.3
>       HostKeyAlgorithms +ssh-rsa
>       PubkeyAcceptedKeyTypes +ssh-rsa

You don't even need the `HostName` field here; without that it simply uses
the name from the command line.

The key fix for the problem is the `HostKeyAlgorithms` setting. (I don't
think that the `PubkeyAcceptedKeyTypes` is needed unless you have multiple
keys, and want it to choose the `ssh-rsa` key instead of a more modern one.

cjs
-- 
Curt J. Sampson      <cjs@example.com>      +81 90 7737 2974

To iterate is human, to recurse divine.
    - L Peter Deutsch


Home | Main Index | Thread Index