Difference between revisions of "~/.ssh/"
Jump to navigation
Jump to search
(12 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]] | [[~/.ssh/id_ed25519.pub]] | ||
+ | (Generated with: [[ssh-keygen -t]] [[ed25519]]) | ||
+ | |||
+ | |||
+ | [[~/.ssh/id_rsa]] | ||
+ | [[~/.ssh/id_rsa.pub]] | ||
+ | (Generated with [[ssh-keygen -t]] [[rsa]]) | ||
Line 12: | Line 20: | ||
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>[[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
~/.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)
chmod g-w,o-w ~
mkdir ~/.ssh chmod 700 ~/.ssh touch ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys touch ~/.ssh/config
Related terms[edit]
See also[edit]
- authorized_keys
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: