Differences

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

Link to this comparison view

Next revision
Previous revision
linux:ssh [2017/08/24 06:53] – created lamboringolinux:ssh [2020/01/23 11:16] (current) – [Server side] lamboringo
Line 12: Line 12:
 Enter passphrase (empty for no passphrase):  Enter passphrase (empty for no passphrase): 
 Enter same passphrase again:  Enter same passphrase again: 
-Your identification has been saved in /home/barriot/.ssh/id_rsa. +Your identification has been saved in /home/urlogin/.ssh/id_rsa. 
-Your public key has been saved in /home/barriot/.ssh/id_rsa.pub.+Your public key has been saved in /home/urlogin/.ssh/id_rsa.pub.
 The key fingerprint is: The key fingerprint is:
-SHA256:XXX...---...XXX yourlogin@yourhost.tdn+SHA256:XXX...---...XXX urlogin@urhost.tdn
 The key's randomart image is: The key's randomart image is:
 +---[RSA 2048]----+ +---[RSA 2048]----+
Line 29: Line 29:
  
 Copy ''id_rsa.pub'' to ~/.ssh and add it to ''authorized_keys'' or ''authorized_keys2'': Copy ''id_rsa.pub'' to ~/.ssh and add it to ''authorized_keys'' or ''authorized_keys2'':
-  cat .id_rsa.pub >> authorized_keys2+  cat .id_rsa.pub >> authorized_keys
  
-Ensure ''authorized_keys2'' is rw only for user: +Ensure ''authorized_keys'' is rw only for user: 
-  chmod 600 authorized_keys2+  chmod 600 authorized_keys
  
 ===== Troubleshooting ===== ===== Troubleshooting =====