User Tools

Site Tools


geek:ssh

Differences

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

Link to this comparison view

geek:ssh [2019/09/27 15:06]
neil created
geek:ssh [2022/01/27 11:08] (current)
neil
Line 29: Line 29:
 <code bash>ssh user@server "chmod 700 .ssh; chmod 640 .ssh/​authorized_keys"</​code>​ <code bash>ssh user@server "chmod 700 .ssh; chmod 640 .ssh/​authorized_keys"</​code>​
  
 +===== SSH Fingerprint =====
 +Some services want a server'​s SSH fingerprint,​ you can generate in the format they usually want with this command:
 +<code bash>
 +cut -d ' ' -f 2 < /​etc/​ssh/​ssh_host_rsa_key.pub ​ | base64 -d | openssl dgst -c -sha1 
 +</​code>​
  
geek/ssh.1569593178.txt.gz · Last modified: 2019/09/27 15:06 by neil