Difference between revisions of "Ssh-copy-id"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
  ssh-copy-id  -i /tmp/rsa.pub [email protected]
 
  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
 
  /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)
+
(to install the contents of '/tmp/rsa.pub' anyway, look at the -f option)
  
 
== Related terms ==
 
== Related terms ==

Revision as of 14:46, 31 March 2022

Errors

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

See also

Advertising: