Sha256: 323f959755a508785f13b63359142b41c80ab2d1e4b292888a9646010b03de0a
Contents?: true
Size: 354 Bytes
Versions: 29
Compression:
Stored size: 354 Bytes
Contents
#Requires -Modules VagrantSSH param( [Parameter(Mandatory=$true)] [string] $KeyPath, [Parameter(Mandatory=$false)] [string] $Principal=$null ) $ErrorActionPreference = "Stop" try { Set-SSHKeyPermissions -SSHKeyPath $KeyPath -Principal $Principal } catch { Write-Error "Failed to set permissions on key: ${PSItem}" exit 1 }
Version data entries
29 entries across 25 versions & 4 rubygems