Re: ssh-copy-id script
No, there's no default location.
I've documented the syntax:
https://winscp.net/eng/docs/commandline#copyid
I've documented the syntax:
https://winscp.net/eng/docs/commandline#copyid
winscp.exe /log=log.txt /copyid user@host.com
Identity/key file was not specified.
winscp.exe /copyid -i .ssh\id.pub user@host.com
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.