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

Unable to connect to DevCloud via ssh

NNB
Novice
2,101 Views

I signed up to use the DevCloud yesterday, and cannot connect via ssh despite following the instructions regarding downloading my key, moving it to the correct location, updating the privileges, and modifying my ssh config.  I posted on the question of another user who had the same issue, and was told to start a separate question; see here .  When I try `ssh devcloud`, I just get `Permission denied (publickey)`.

 

I was also asked to provide my userid, which is u162654. 

1 Solution
AlekhyaV_Intel
Moderator
1,935 Views

Hi,


We will connect with you privately for your config file.


Regards,

Alekhya


View solution in original post

0 Kudos
10 Replies
AlekhyaV_Intel
Moderator
2,072 Views

Hi,

 

Thank you for posting in Intel Communities. Please follow the below steps and check if the issue still persists.

 

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 notebookMicrosoftTeams-image (8).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:
    1. Check your .ssh/config : cat .ssh/config
    2. Does your account number in your ssh/config match with the one showed in in Jupyter(Example : 25550)
    3. 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
    4. Login with ssh again

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

We apologize for this inconvenience cause by the public key error issue

 

If this resolves your issue, make sure to accept this as solution. This will help others with similar issue. Thank you.

 

Regards,

Alekhya

 

0 Kudos
NNB
Novice
2,063 Views

When I launch the Jupyter notebook as shown, the user id is correct:

jupyter-scrn.png

 

This matches the user id in my ~/.ssh config file and private key name.

However, I still cannot log in via ssh, with the same error (permission denied publickey).

0 Kudos
AlekhyaV_Intel
Moderator
2,039 Views

Hi @NNB ,


Did you follow the same steps from this document? Did you set the correct restrictive permissions on your config file & your key? Please try the manual configuration and check if the issue still persists.(https://devcloud.intel.com/oneapi/documentation/connect-with-ssh-linux-macos/)

Please let us know if the issue still persists.


Regards,

Alekhya




0 Kudos
NNB
Novice
2,026 Views

Hi @AlekhyaV_Intel ,

 

Yes, those are the exact steps I followed.  I did the manual configuration.  I changed the restrictions on my key and config (both show 
" -rw-------"). 

I still cannot ssh in.

 

0 Kudos
AlekhyaV_Intel
Moderator
1,977 Views

Hi,


We have contacted the admin team regarding this issue. We will get back to you soon with an update.


Regards,

Alekhya


0 Kudos
AlekhyaV_Intel
Moderator
1,958 Views

Hi,


We got an update from the admin team. Is the issue resolved? Could you please give us an update regarding this issue?


Regards,

Alekhya


0 Kudos
NNB
Novice
1,951 Views

No, the issue is still not resolved.  What did the admin team do?  Am I supposed to do something else after what they did?

I still get the same error (Permission denied (publickey)).  I am able to access the DevCloud through the Jupyter interface, but not ssh.

0 Kudos
AlekhyaV_Intel
Moderator
1,936 Views

Hi,


We will connect with you privately for your config file.


Regards,

Alekhya


0 Kudos
NNB
Novice
1,928 Views

I downloaded a new key today as suggested by the email sent to me, and now the issue is resolved.

0 Kudos
AlekhyaV_Intel
Moderator
1,905 Views

Hi,


Glad to know that your issue is resolved. Thank you for accepting our solution. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Alekhya


0 Kudos
Reply