User Tools

Site Tools


ssh_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ssh_notes [2021/01/22 21:09] – [Useful links] rajussh_notes [2024/04/28 04:37] (current) – [Useful links] raju
Line 1: Line 1:
 +==== no matching host key type found ====
 +error
 +<code>
 +$ ssh hostname -l username
 +Unable to negotiate with <IP address> port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
 +</code>
 +
 +workaround
 +<code>
 +ssh -oHostKeyAlgorithms=+ssh-dss hostname -l username
 +</code>
 +
 ==== copying keys ==== ==== copying keys ====
 When setting up password less authentication via ssh, use ssh-copy-id to copy the public key to the remote machine. When setting up password less authentication via ssh, use ssh-copy-id to copy the public key to the remote machine.
Line 12: Line 24:
  
 ==== Useful links ==== ==== Useful links ====
 +  * https://linuxize.com/post/using-the-ssh-config-file/ - Using the SSH config file
 +    * Well written; easy to follow; high information density; non-trivial examples
 +
   * [[http://www.linuxproblem.org/art_9.html | ssh without password]]   * [[http://www.linuxproblem.org/art_9.html | ssh without password]]
   * You can create nicknames for logging into remote servers in ~/.ssh/config and can use them with ssh, rsync, scp etc., - https://www.saltycrane.com/blog/2008/11/creating-remote-server-nicknames-sshconfig/   * You can create nicknames for logging into remote servers in ~/.ssh/config and can use them with ssh, rsync, scp etc., - https://www.saltycrane.com/blog/2008/11/creating-remote-server-nicknames-sshconfig/
  
ssh_notes.1611349743.txt.gz · Last modified: 2021/01/22 21:09 by raju