6

I'm using PowerShell and have OpenSSH 4.6 installed. I'd like to use ssh-copy-id so I can login using a key without doing through the manual process of copying keys to servers. Is there an equivalent to the linux command ssh-copy-id that can be used or is there a PowerShell script already created somewhere that does this?

3
  • Oh, thanks. Shouldn't have stuck the problem to PowerShell as that negated the proper answer.
    – flickerfly
    Oct 2, 2012 at 20:32
  • Their might be a way to do it that is more idiomatically powershell. Though the bulk of what is being done is on the server site. I believe I saw a .NET SSH client somewhere at one point in time, so you might be able to avoid using plink.
    – Zoredache
    Oct 2, 2012 at 20:47

1 Answer 1

5

I was on similar quest and seems like I've gone a bit overboard. You can find the powershell script here: https://github.com/VijayS1/Scripts/blob/master/ssh-copy-id/ssh-copy-id.ps1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .