ssh

Links Linux/AddSshUserKeyOnly , Cisco/SshLogin , /Linux/Security/LoginHistory , LinuxSssdADauth

ssh to old servers with unsecure ciphers

List supported settings

Convert putty rsa public key to openssl format

  1. Copy rsa key into clipboard and save to /tmp/key.pub e.g.

    cat - > /tmp/key.pub
  2. for key beginning with "---- BEGIN SSH2 PUBLIC KEY ----"

    ssh-keygen -i -f /tmp/key.pub
    ## using ssh-rsa <xxx> output from previous command
    $ echo "ssh-rsa <xxx> Name.Surname+Note@domain.com" | sudo tee /home/<user>/.ssh/authorized_keys

SSH socks connection

ssh -D 1337 -q -C -N user@ma.ttias.be

SSH Errors and fix's

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