User Tools

Site Tools


linux:ssh

This is an old revision of the document!


SSH

Copy over Public Key

To enable passwordless login, you must copy over your public key to the other sever

ssh-copy-id remote_username@server_ip_address

Ignore Warning

ssh -q -o "StrictHostKeyChecking no" admin@192.168.1.1

ByPass Legacy Ciphers

I had to do this to access a Cisco switch.

Add the following to the SSH command.

-oKexAlgorithms=+diffie-hellman-group1-sha1

You can also add the following to .ssh/config

Host x.x.x.x
    KexAlgorithms +diffie-hellman-group1-sha1
linux/ssh.1652651892.txt.gz · Last modified: (external edit)