Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECP Annualmeeting 2022 - Kokkos Tutorial AWS Instances #60

Open
crtrott opened this issue May 5, 2022 · 1 comment
Open

ECP Annualmeeting 2022 - Kokkos Tutorial AWS Instances #60

crtrott opened this issue May 5, 2022 · 1 comment

Comments

@crtrott
Copy link
Member

crtrott commented May 5, 2022

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:

-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAj/4JOkv/opJXa9dp9lr5F+i+9uvAkFaDvmSLjCXd0UF+D/US
4r4OosjYMrJy+OPeTp9Vss/8mVxH/nkT0FW6of1fYTmyst1tZraeYJyFhlEGZrMp
ceoMgk9s7L6c/6Q28/51I530Pj+IBOtszcUr73hBEEz87Vlb/MGSJQJ6whCwaEQH
AMKpyAs4Fx0kU/AuI1KNf7A/61ATwjPBLSHigivyBDhX++w+YHsmGmrq48agpdcV
fHFAFhekgTmRXRaBcTyWjKxfVTZD7rrGo1DaFA2hTElYaLGrk0Ql386fq3+TEGIW
YwXP9OlV/tiRm/C7OQgvTjxyuUfEQ4sfNLcYpwIDAQABAoIBAGZhlCIVQ3BOaUZO
ZhM6X/52CMH8onB+czH+v5Ioom1VCdNCx+jchf+MmtyBMWpyavCwLfj0FYDdsnrn
kAUDz626QAUbR0oSUuVDV50N7YqxNcH0BbXvWnGVE7fJWEwUcNZPyO5IMw/HkGkf
E7/DQBgHAwwaEYSZkuRGpikWeD5fGN4UQa99FgRCGqFlqCyErJ37Y8wG3HiY49co
yfCQbuiCJOZPcDQHnY0Y8YWGJE2NZSfIaSZUhy2tYUlL+3MqKfVTJVj2qKT3+AtG
YT8G0j85EjagHNQb2ep9jjWHJBtFHY08/Tx3FXdL1z+L3XgiNdDR+0KLBKAY9Hrw
2oBVIVECgYEA1X1+cw+cnY1l2xcWODHpQBz4H5gk1/gTuwjivDImADpP688/Hz4E
T8tha48XBeP34ushyGZ2mBiEL2HwQIr5DK4gQTu7x0sKoebbxP7Pw9RcKaJAq/nu
Q6HewgGkIDDHlo9mcvnJtZGZgrZ7h9pxiJtJIYX18Yv18h2EyZMEhv0CgYEArKnw
VPk1k3IwBZi1h1TtjZ21FASlpxZ8yVMSzTjPH5NIlb8TI3kGlvPSZNEDTSygrV+R
iAe9sFFohg+1wllrHwosITZfLNuXNPjWd1hQ3ciGh/BA+h0fKc5keWtndYtY4ln2
iZfdR87+ey0vW2ppM2miHLCKaZo98O+0qrDq2XMCgYBioCr+dMPhdSUM5cl6BHTB
DaEC14KN0ykqSpyUXIZ5rHandYKvqDLNuiMzUVNNgVdPGVjt/4fiE9FdIl2fM5SC
ax6zhCjnlJ9A1CnLA/xvd3dsNGy0Bi4wSGNkNOXhiSdrQqwNiZ/JpY3JeQvwYtX4
SeSq+/v2rrXcOA7UIHsC8QKBgQChsth2y5goCHT+mL/QCHIcAMi3AY8dBotAg4MF
HCGk4WrFilbjDpFkRt0PO0rLOHMVSn3hFdbIS8UGX6oJY3JVdFJVnDTPrqpRmoRG
6jd5LDUJE6/WS/WGUlp392TBiQlpmXSv8L/zYt+h/XPvOZ1h35hJI+/L6/38KJBa
liqqDwKBgQDFkgVfJ3w3ULD+FYZR2+Zy2HFxAcm3QA2ijzqdxVEOEIflldcCFy2V
ZVi5U9egB607OrCVLy4InDyLb2lg6iBOoEL5eyX3bHgNHcgK3f27FqpX3JCsx3Bj
1rlopIVEPCXWhamijRRC7WdXYPQ/gLpEwm16cIDazvbLuOhs5q2lJw==
-----END RSA PRIVATE KEY-----

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:

ssh -i tutorial-key.pem ubuntu@IPADDRESS

where IPADDRESS is the URL you claimed on the spreadsheet.

@crtrott
Copy link
Member Author

crtrott commented May 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant