Difference between revisions of "~/.ssh/"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(27 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[~/.ssh/config]] | ||
− | [[chmod]] g-w,o-w ~ | + | [[~/.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> | ||
+ | |||
[[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 -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
~/.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: