Difference between revisions of "Ssh-copy-id"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 5: | Line 5: | ||
+ | ssh-copy-id -i [[id_ed25519]]_YOUR_KEY hostname.example.com | ||
+ | /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "id_ed25519_YOUR_KEY.pub" | ||
+ | /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed | ||
+ | |||
+ | /usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system. | ||
+ | (if you think this is a mistake, you may want to use -f option) | ||
== Related terms == | == Related terms == |
Revision as of 08:16, 5 April 2021
ssh-copy-id [email protected] ssh-copy-id -i /path/to/your/key.pub [email protected]
ssh-copy-id -i id_ed25519_YOUR_KEY hostname.example.com /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "id_ed25519_YOUR_KEY.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
(if you think this is a mistake, you may want to use -f option)
Related terms
authorized_key
(Ansible)authorized_keys
config file
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
Advertising: