Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1467 Discussions

cannot access devcloud through ssh : permission denied (publickey)

amariani
Beginner
570 Views

Hello,

I recently created an account on devcloud and I was trying to access it. I am using ubuntu on Windows through the WSL, where I followed the steps listed listed in the automated ssh for the setup.

Could you please help me?

regards

0 Kudos
5 Replies
AthiraM_Intel
Moderator
539 Views

Hi,

 

Thank you for posting in Intel Communities.

 

We are extremely sorry for the inconvenience caused. Kindly follow the below steps.

 

Steps to check your account and remediate:

 

1.   Sign into DevCloud : https://devcloud.intel.com/oneapi/

 

2.   Login/launch Jupyter – Launch Jupyter

 

3.   Note down account number as shown below in the Welcome.ipynb notebook

AthiraM_Intel_0-1660824301035.png

 

 4.   Next, login with ssh – if error does not show up your account is good.

 

5.   if permission denied(public key) error message shows up during login with ssh then:

 

a.   Check your .ssh/config : cat .ssh/config

 

b.   Does your account number in your ssh/config match with the one showed in in Jupyter(Example : 12345)

 

c.   Make sure correct account number is reflected in the config file. If not, edit your .ssh/config to correct the account number in .ssh/config to be same as the one with what you see in Jupyter

 

d.   Login with ssh again

 

 

If at any point during the above steps you notice files missing please contact us with your original account number and the correct account number – we will work with the engineering team to help assist copy your files over.

 

 

Thanks

 

0 Kudos
amariani
Beginner
529 Views

Hello,

I checked the user number as suggested and I followed the suggested steps, but the problem persists, I keep on getting thhe same (publickey) error.

regards

0 Kudos
AthiraM_Intel
Moderator
493 Views

Hi,


Could you please share your userid (uxxxxx) privately?




Thanks





0 Kudos
AthiraM_Intel
Moderator
458 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.



Thanks


0 Kudos
Custler
Beginner
449 Views

If you have a lot of keys in ssh agent, it will try all of them and you will receive fail the connection before devcloud key used

It is necessary to change the connection config in ~/.ssh/config smthg like this:

 

Host devcloud
    User uXXXXXX
    IdentitiesOnly yes
    IdentityFile ~/.ssh/devcloud-access-key-XXXXXX.txt
    ProxyCommand ssh -o IdentitiesOnly=yes -T -i ~/.ssh/devcloud-access-key-XXXXXX.txt guest@ssh.devcloud.intel.com

 

 

0 Kudos
Reply