Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 889 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 889 Bytes

PS-CopyID

Simple Powershell Module to emulate ssh-copy-id based off of a blog post by Christopher Heart

Installation

Just type the following command to install it from the Powershell Gallery:

Install-Module -Name ps-copyid

Then Add it to your $Profile using the following command:

Write-Output "Import-Module PS-CopyID" | Out-File -Append $Profile

Usage

Simply type:

Copy-ID username@hostname

Using the above example PS-CopyID will automatically copy the id_rsa.pub file in your .ssh folder of your PC to your server If you would like to specify a directory follow this example:

Copy-ID username@hostname \path\to\your\key

Support Me

ko-fi