Difference between revisions of "~/.ssh/"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
  [[~/.ssh/config]]
 
  [[~/.ssh/config]]
 +
 +
 
  [[~/.ssh/id_ed25519]]
 
  [[~/.ssh/id_ed25519]]
 +
[[~/.ssh/id_ed25519.pub]]
 +
(Generated with:  [[ssh-keygen -t]] [[ed25519]])
 +
 
   
 
   
 +
[[~/.ssh/id_rsa]]
 +
[[~/.ssh/id_rsa.pub]]
 +
(Generated with [[ssh-keygen -t]] [[rsa]])
 +
 +
 +
*<code>[[chmod]] g-w,o-w ~</code>
  
*<code>[chmod]] g-w,o-w ~</code>
+
[[mkdir]] ~/.ssh
*<code>[[mkdir]] ~/.ssh</code>
+
[[chmod]] 700 ~/.ssh
*<code>[[chmod]] 700 ~/.ssh</code>
+
touch ~/.ssh/[[authorized_keys]]
*<code>touch ~/.ssh/[[authorized_keys]]</code>
+
[[chmod]] [[600]] ~/.ssh/authorized_keys
*<code>[[chmod]] [[600]] ~/.ssh/authorized_keys</code>
+
touch [[~/.ssh/config]]
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[authorized_keys]]</code>
 
* <code>[[authorized_keys]]</code>
* <code>[[ssh-keygen]]</code>
+
* <code>[[ssh-keygen -f]]</code>
 
* <code>[[ssh-agent]]</code>
 
* <code>[[ssh-agent]]</code>
 +
* <code>[[chmod 400]]</code>
 +
* <code>[[chmod 600]]</code>
 +
* [[Permissions are to open]]
  
 
== See also ==
 
== See also ==
 +
* {{authorized_keys}}
 
* {{OpenSSH}}
 
* {{OpenSSH}}
  
 
[[Category:SSH]]
 
[[Category:SSH]]

Latest revision as of 11:56, 26 April 2023

Advertising: