Open crtrott opened 2 years ago
On Windows, to change the permissions, you need your user SID, which you can get with whoami /user
:
c:\>whoami /user
USER INFORMATION
----------------
User Name SID
============== ==============================================
mydomain\wincmd S-1-5-21-7375663-6890924511-1272660413-2944159
Then you need to deny permissions to everyone except for that SID using icacls
(untested):
c:\>icacls tutorial-key.pem /deny *:F /grant MYSID:R
where MYSID
is the number from the whoami
command above.
Please insert your email address in this spreadsheet:
https://docs.google.com/spreadsheets/d/1Sz-tHJ8dLz8cJ-GJZ0q0vbIyza_Cb3CeqoZirpLBIOQ/edit?usp=drivesdk
Use the following private key to SSH into one of these instances once you claim an instance:
Save this key into a file on your laptop (e.g.,
tutorial-key.pem
). Note that file must only be readable by you:chmod 400 tutorial-key.pem
You can then login like this:
where
IPADDRESS
is the URL you claimed on the spreadsheet.