Difference between revisions of "~/.ssh/authorized keys"
Jump to navigation
Jump to search
(Removed redirect to Configure OpenSSH to allow Public-key authentication) Tags: Removed redirect, Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
+ | <pre> | ||
+ | AUTHORIZED_KEYS FILE FORMAT | ||
+ | AuthorizedKeysFile specifies the files containing public keys for public key authentication; if this option is not specified, the default is ~/.ssh/authorized_keys and | ||
+ | ~/.ssh/authorized_keys2. Each line of the file contains one key (empty lines and lines starting with a ‘#’ are ignored as comments). Public keys consist of the following | ||
+ | space-separated fields: options, keytype, base64-encoded key, comment. The options field is optional. The supported key types are: | ||
+ | |||
+ | |||
+ | ecdsa-sha2-nistp256 | ||
+ | ecdsa-sha2-nistp384 | ||
+ | ecdsa-sha2-nistp521 | ||
+ | |||
+ | ssh-ed25519 | ||
+ | ssh-dss | ||
+ | ssh-rsa | ||
+ | |||
+ | The comment field is not used for anything (but may be convenient for the user to identify the key). | ||
+ | </pre> | ||
== See also == | == See also == |
Revision as of 08:20, 7 May 2020
AUTHORIZED_KEYS FILE FORMAT AuthorizedKeysFile specifies the files containing public keys for public key authentication; if this option is not specified, the default is ~/.ssh/authorized_keys and ~/.ssh/authorized_keys2. Each line of the file contains one key (empty lines and lines starting with a ‘#’ are ignored as comments). Public keys consist of the following space-separated fields: options, keytype, base64-encoded key, comment. The options field is optional. The supported key types are: [email protected] ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 [email protected] ssh-ed25519 ssh-dss ssh-rsa The comment field is not used for anything (but may be convenient for the user to identify the key).
See also
- 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 - SSH:
ssh
, TLS,.ppk, .pem, .crt, .pub
, ED25519, Key exchange method (KEX), public key, private key,ssh -Q kex
,IAMUserSSHKeys
,known_hosts
, ssh tunnel, Dropbear
Advertising: