kokkos / kokkos-tutorials

Tutorials for the Kokkos C++ Performance Portability Programming Ecosystem
https://kokkos.org
Other
298 stars 100 forks source link

Kokkos Tutorial PACT'19 #20

Closed jeffmiles63 closed 2 years ago

jeffmiles63 commented 5 years ago

Please insert your email address in this spreadsheet:

https://docs.google.com/spreadsheets/d/1R2K_IMfEPWdCdFCacuRjhVhrjwv1P01Wwk6D5z9GbWc/edit#gid=0

Use the following private key to SSH into one of these instances once you claim an instance:

-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAkURdSu63LbMEVjs/CXrz/JdBQtcKZMjoB60L4x7vA3gVQWn89VFYUFRGzTqx
ZTv1SBo3h4AmfGj/ATz6/FYtFfSLhlQ3I/zeGuNm3f1mhsePVos14twcX69R2DPL6+rzm7U6EHkH
7N7TluJq0QMRHaUtxBIXDo8KmUyjgJI0QqJ1nat2ociQx1qJwHXuqMAYv/+3uFubqq8+T21Cxtxw
8FqdTd1N/K7waHWFSdsgDaKRT2L3m1nFuWDRJJfnuodOYOLUOn5tQz9eset/LSSyn3tWzRYhL0Xw
rTfHI90SPzRulooej0TvZUPhxncFx8dvfJSYZfNb5Qq1DoEbRbKg9wIDAQABAoIBAA27S6JQrGoa
ePd5xDyuLbAb0CR0VVwvjZdkKTJ/8xH94Ox9C1dZKCL3xHWT7b7nCwmUyNj7KSgreKdyTztZHgvs
QOAix8+UEJ60Dj4/vNhStt70a9SU/+2fkfoA827Kl9qJKAL0neYrLg8eOgCl7JFD0u6s0xciOFtD
XlVB/MSrl5Pt4f+orgVbLpUbIclO6ChtQp3nOoQEIjNagWCrIUr9EYf17DIYIa8a3JiGsVEt9nAa
/TLjYLe3v8lqjTrE0WFNpComTXcKVFp4AGKM8VSqsVpKeKpIgLXNLF6e8tnLKCixDpKGUqRjPdN0
kt9/NtcHVY1u8hW3Dy4k+mnrIbkCgYEA6gdULaifBZ9NouaEry/1EqX4hbwmafXkPvKAvZzQ8sob
YzViIysSu5QAHsvuuv6vxIvE8WbLWPyi4krWToLCng8SPK0JsT+GA75LGNCk/E1gF4l6BX5mVurd
7pCWv872z3XhplY1lkZlmkdw0GllocMWbEidyWpk1Pl7QkmS5KsCgYEAnue6wQmUwBculUQ9FM7C
SQg93Vj8W1mwVbWTRa8WCCpdSgEIKDb2rElsXOOGvrxp3n05uBvSK6YJNC9S0w7F9rBSNHeTk+qb
lgLxZnZlL/PODcJQvFN5nTfBmkSKPRWzRaB2lMDlJliFAulVXvqKXphiqwd0FsUmBjcmTg8cPOUC
gYEA2rLWm4SEdwCT0LOTMxOh9jdbs75MN6EuFxUP8iHlsb3lMiTk/PB3pQt9wUnaYq03HHlxJhZl
2Vbd8JL3Co9vx71V0ZXzBMzUNBNUom/4fj7gmZ5DhXbFtFvv4c0E02JZiy4iHQtbMH/A2xf/+QNF
kpF5FuAVc/AVImGyKhQPTdkCgYACckzkxfH9Vx4HfEp4dIp3N2JEcydHfMUDPM1sqDptm8Fd71Ah
1l7L3kGF2Jbtftcebs0hsYP12hOQMx5SU4rmtmY9mo2yHE2S7K6sxivepiFJAvHdRGe97OrVJjL+
p8Pf0Y2h0qp0ga5ikhcXZEIXHL+AJJg79YMVW2oCj6b+pQKBgQCkw3i9vy5OHle6HUirO1ns/LJb
O4ivIyfa7NnJebUW6BK5NsCyfKRZN3OBUNmVrtnpX4kkYbAV5qt03bOu69OkhOt9lOmv/ZVs7v21
Z1Ims7mrwVFl4tBW97lWMeipnzXGxgTyqzcDIGLpyP9aBID+0vq35ado4wrjRi44fkhQhQ==
-----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 go-r tutorial-key.pem

You can then login like this:

ssh -i tutorial-key.pem ec2-user@IPADDRESS

where IPADDRESS is the URL you claimed on the spreadsheet.

jeffmiles63 commented 5 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.