Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

henry3

Re: ssh-copy-id script

Martin, Thanks for the response. It's not a big deal. I was curious how it worked.
Henry
martin

Re: ssh-copy-id script

The "Install Public Key into Server" uses pure SFTP, so it cannot do any "grep". It downloads and checks locally. I'll consider adding a command-line equivalent.
henry3

ssh-copy-id script

When I use Tools > Install Public Key into Server command, I notice it checks to see if the key already exists. Do you download authorized_keys and check it locally, or call grep on the remote server? I wanted to add a new key to a list of servers, and did it using put -append, but that doesn't check if the key is already on that server. I didn't see a way to get the result code from a call, other than creating some type of flag.
Thanks,
Henry