
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] SSH set up issues
Charles Muller writes:
> Based on various suggestions I found on the web, I was able to work
> around it by inserting the following text in .ssh/config:
> Host linserv
> HostName 192…..
> User acmull5
> HostKeyAlgorithms +ssh-rsa
> PubkeyAcceptedKeyTypes +ssh-rsa
>
> So I now I can log on with:
>
> ssh linserv
>
> …but I would prefer to be able to log on with my original method of
> SSH followed by the actual server address number.
Besides Darren's suggestion of "Host <ip address>",
ssh -o 'HostKeyAlgorithms +ssh-rsa' -o 'PubKeyAcceptedKeyTypes +ssh-rsa' ...
should work (ssh(1) doesn't give examples of the syntax for the -o
option so I'm just guessing that the key-value separator is ' ').
Obviously you would want to make an alias for that.
That said, at your convenience you should probably go to the server
and generate ecdsa and/or ed25519 keys for the server, because as you
upgrade you're going to find more and more of your hosts are
deprecating ssh-rsa and ssh-dss host keys (both for ssh and sshd).
Example:
ssh-keygen -t ed25519
and leave the pass-phrase empty.
--
GNU Mailman consultant (installation, migration, customization)
Sirius Open Source https://www.siriusopensource.com/
Software systems consulting in Europe, North America, and Japan
Home |
Main Index |
Thread Index