We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bc7de commit 2dd702fCopy full SHA for 2dd702f
git/setup-ssh-for-git.ps1
@@ -1,6 +1,10 @@
1
# Prerequisites - you need to get SSH key supported by your git hosting service.
2
# deploy it into: c:\id_rsa
3
4
+# generate SSH key
5
+ssh-keygen -t rsa -b 4096 -C "key-comment" # 4096 RSA key (SHA256)
6
+ssh-keygen -t ed25519 -C "key-comment"
7
+
8
# install choco
9
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
10
0 commit comments