Difference between revisions of "~/.ssh/"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page .ssh to ~/.ssh/)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<code>~/.ssh/</code> directory
 
  
  
 +
[[~/.ssh/config]]
 +
 +
 +
[[~/.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>
  
[[chmod]] g-w,o-w ~
 
 
  [[mkdir]] ~/.ssh
 
  [[mkdir]] ~/.ssh
 
  [[chmod]] 700 ~/.ssh
 
  [[chmod]] 700 ~/.ssh
 
  touch ~/.ssh/[[authorized_keys]]
 
  touch ~/.ssh/[[authorized_keys]]
  [[chmod]] 600 ~/.ssh/authorized_keys
+
  [[chmod]] [[600]] ~/.ssh/authorized_keys
 
+
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>[[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: