there is a ssh-copy-id package/script for windows powershell at chocolatey.org installation install chocolatey.org Install ssh-copy-id Link –> https://chocolatey.org/packages/ssh-copy-id
generate public key copy ssh public key to remote machine sudo without password, log into the remote machine and run following command add ” <username> ALL=(ALL) NOPASSWD: ALL ” to the end...