Differences between revisions 1 and 2
Revision 1 as of 2021-02-15 23:39:15
Size: 746
Editor: PieterSmit
Comment:
Revision 2 as of 2021-02-15 23:41:50
Size: 745
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
== List supported settings === == List supported settings ==

ssh

Links Linux/AddSshUserKeyOnly , Cisco/SshLogin

ssh to old servers with unsecure ciphers

  • error received

    Unable to negotiate with 10.10.10.1 port 22: no matching cipher found. Their offer: aes256-cbc,aes128-cbc,3des-cbc
  • Set key exchange

    ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@legacyhost
    # or in config
        KexAlgorithms +diffie-hellman-group1-sha1

List supported settings

  • add -G to command line to see active setting
  • for available settings

    ssh -Q cipher       # List supported ciphers
    ssh -Q mac          # List supported MACs
    ssh -Q key          # List supported public key types
    ssh -Q kex          # List supported key exchange algorithms

ssh (last edited 2024-01-10 21:56:28 by PieterSmit)