Why ssh-copy-id still needs password when using cloth
1 answer
env.user
and env.password
are used to ssh on the remote server and then run the command internally run ()
on the remote server.
They are not used for the most remote command (running on a remote server).
So, ssh-copy-id
doesn't know anything about user or password.
If this is not what you mean, I would suggest you edit the question and make things clearer, for example, provide more context for what you are trying to accomplish: inserting a function that contains this "trigger", for example.
+1
source to share