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

cannot ssh to DevCloud via ssh

Hamza13
Beginner
256 Views

So i am facing 2 issues:

I enrolled in Devcloud then downloaded the devcloud-access-key-229916.txt file with config then used 'ssh devcloud' to ssh into the machine. I exited the machine afterwards now when i try to ssh again it gives me `Permission denied (publickey)`.

ssh -v output:
$ ssh -v devcloud
OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023
debug1: Reading configuration data /c/Users/Hamza/.ssh/config
debug1: /c/Users/Hamza/.ssh/config line 1: Applying options for devcloud
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Executing proxy command: exec ssh -T -i ~/.ssh/devcloud-access-key-229916.txt guest@ssh.devcloud.intel.com
debug1: identity file /c/Users/Hamza/.ssh/devcloud-access-key-229916.txt type 0
debug1: identity file /c/Users/Hamza/.ssh/devcloud-access-key-229916.txt-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: compat_banner: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Authenticating to devcloud:22 as 'u229916'
debug1: load_hostkeys: fopen /c/Users/Hamza/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:lS/2XMIIjUjLdbBOVwX+d0HoUE7o/Vp+YH+vIyxO2XQ
debug1: load_hostkeys: fopen /c/Users/Hamza/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'devcloud' is known and matches the ED25519 host key.
debug1: Found key in /c/Users/Hamza/.ssh/known_hosts:3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /c/Users/Hamza/.ssh/devcloud-access-key-229916.txt RSA SHA256:s3F9j0YqV/DZNxQSzpE64TWa+Qu84TEm88YEACmQSGw explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /c/Users/Hamza/.ssh/devcloud-access-key-229916.txt RSA SHA256:s3F9j0YqV/DZNxQSzpE64TWa+Qu84TEm88YEACmQSGw explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
u229916@devcloud: Permission denied (publickey).

 

problem 2: when i try to login in at https://devcloud.intel.com/oneapi  it tells me to enroll, when i click enroll it tells me im already enrolled.

Hamza13_1-1722767838724.png

But when i try to sign in, it again takes me to enroll now page, looks like Im going in circles?

5 Replies
Milan6
Beginner
188 Views

I have the same issue. I use Windows 10 22H2 Build 19045.4717 to connect to the servers. My output log is very similar:

OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug1: Reading configuration data C:\\Users\\Anwender/.ssh/config
debug1: C:\\Users\\Anwender/.ssh/config line 1: Applying options for devcloud
debug1: Executing proxy command: exec ssh -T -i ~/.ssh/devcloud-access-key-229987.txt guest@ssh.devcloud.intel.com
debug1: identity file C:\\Users\\Anwender/.ssh/devcloud-access-key-229987.txt type -1
debug1: identity file C:\\Users\\Anwender/.ssh/devcloud-access-key-229987.txt-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Authenticating to devcloud:22 as 'u229987'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:7R/nUuhf2mWQej8YRr+FNr0T0++Rw71wmvZpsrysbFU
debug1: Host 'devcloud' is known and matches the ECDSA host key.
debug1: Found key in C:\\Users\\Anwender/.ssh/known_hosts:2
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\Anwender/.ssh/devcloud-access-key-229987.txt explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: C:\\Users\\Anwender/.ssh/devcloud-access-key-229987.txt

Here ends the log file and nothing happens beyond that point nothing happens.

0 Kudos
BryanC12
Beginner
169 Views

Same here also, please let me know if you or any of you solved this issue.

Milan6
Beginner
146 Views

Now  if I try signing into my account it asks me to create a new one but when I try creating it just says that account already exists.

0 Kudos
BryanC12
Beginner
145 Views

Same though, can't sign in. 

Milan6
Beginner
64 Views

I now contacted Intel Support for help. Let's see if they could help us figure it out.

0 Kudos
Reply