Difference between revisions of "Ssh-copy-id"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[ssh-copy-id]]</code> ([http://manpages.ubuntu.com/manpages/hirsute/man1/ssh-copy-id.1.html man]) | |
* <code>ssh-copy-id [email protected]</code> | * <code>ssh-copy-id [email protected]</code> | ||
Line 24: | Line 24: | ||
* <code>[[aws ec2-instance-connect send-ssh-public-key]]</code> | * <code>[[aws ec2-instance-connect send-ssh-public-key]]</code> | ||
* <code>[[ssh-import-id]]</code> | * <code>[[ssh-import-id]]</code> | ||
− | * <code>[[id]]</code> | + | * <code>[[id (command)|id]]</code> |
== See also == | == See also == |
Latest revision as of 17:05, 19 December 2024
ssh-copy-id [email protected]
ssh-copy-id -i /path/to/your/key.pub [email protected]
Errors[edit]
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)
ssh-copy-id -i /tmp/rsa.pub [email protected] /usr/bin/ssh-copy-id: ERROR: failed to open ID file '/tmp/rsa': No such file or directory (to install the contents of '/tmp/rsa.pub' anyway, look at the -f option)
Related terms[edit]
authorized_key
(Ansible)~/.ssh/authorized_keys
config filessh-add
command for OpenSSH authentication agentaws ec2-instance-connect send-ssh-public-key
ssh-import-id
id
See also[edit]
Advertising: