projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update package.json
[webi-installers/.git]
/
ssh-utils
/
ssh-pubkey.ps1
diff --git
a/ssh-utils/ssh-pubkey.ps1
b/ssh-utils/ssh-pubkey.ps1
index 46838e38c12dccabe7dc326c87265392abf186e1..e323496072163c09f2d9f547867fb3c638048fb6 100644
(file)
--- a/
ssh-utils/ssh-pubkey.ps1
+++ b/
ssh-utils/ssh-pubkey.ps1
@@
-5,7
+5,7
@@
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh"))
{
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh"))
{
- New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory
+ New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory
-Force
#& icacls "$Env:USERPROFILE/.ssh" /inheritance:r
#& icacls "$Env:USERPROFILE/.ssh" /grant:r "$Env:USERNAME":"(F)"
}
#& icacls "$Env:USERPROFILE/.ssh" /inheritance:r
#& icacls "$Env:USERPROFILE/.ssh" /grant:r "$Env:USERNAME":"(F)"
}
@@
-26,7
+26,7
@@
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh/config"))
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh/id_rsa"))
{
if (!(Test-Path -Path "$Env:USERPROFILE/.ssh/id_rsa"))
{
- & ssh-keygen -b 2048 -t rsa -f "$Env:USERPROFILE/.ssh/id_rsa" -q -N ""
+ & ssh-keygen -b 2048 -t rsa -f "$Env:USERPROFILE/.ssh/id_rsa" -q -N ""
""
echo ""
}
echo ""
}