- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to create tunnel (port forwarding) but I failed:
1st step: ssh devcloud.proxy and qsub -I work fine. I'm able to connect to head node and create interactive job.
2nd step. I'm trying to connect to compute node in the second terminal, but failed:
ssh s001-n016.aidevcloud
ssh: connect to host ssh.devcloud.intel.com port 22: Connection timed out
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
So, I cann't create tunnel and connect using VSCode via Remote-SSH.
In case of proxy, I can work on DevCloud only in terminal.
I see this issue both on the Windows and Linux machines.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
From the question we could see that you’re connecting to devcloud using “ssh devcloud.proxy”. Ensure you’re connecting to devcloud using “ssh devcloud” instead of devcloud.proxy as devcloud is the entry according to the above sent config file.
- Please copy/paste the contents of config file that we had sent previously.
- In the config file, <proxy_name> and <port> are the hostname and port of the corporate proxy respectively. It is usually provided to you by your IT department.
- Please replace <user> with your devcloud userid which is of the form uXXXXX.
- In first linux terminal
-
Execute ssh devcloud
-
Execute qsub -I(copy the node number)
-
- In second linux terminal(Don’t close the first terminal, keep it open)
-
Execute ssh node_number.aidevcloud
-
Port forwarding is done
-
- Then follow the remaining steps in Microsoft Visual studio, please follow: https://devcloud.intel.com/oneapi/documentation/connect-with-vscode/
- If the above steps doesn’t work, Could you please share with us your config file through private message?
Regards,
Alekhya
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Forums. We've provided the content of the config file below so that you could modify your config file.
Host devcloud
User <user>
Port 4022
IdentityFile ~/.ssh/devcloud-access-key-<user>.txt
ProxyCommand ssh -T devcloud-via-proxy
Host devcloud-via-proxy
User guest
Hostname ssh.devcloud.intel.com
IdentityFile ~/.ssh/devcloud-access-key-<user>.txt
LocalForward 4022 c009:22
ProxyCommand nc -x <proxy_name>:<port> %h %p
# DevCloud VSCode config
Host devcloud-vscode
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
Hostname localhost
User <user>
Port 5022
IdentityFile ~/.ssh/devcloud-access-key-<user>.txt
# SSH Tunnel config
Host *.aidevcloud
User <user>
IdentityFile ~/.ssh/devcloud-access-key-<user>.txt
ProxyCommand ssh -T devcloud nc %h %p
LocalForward 5022 localhost:22
LocalForward 5901 localhost:5901
Here, <proxy_name> and <port> are, respectively, the hostname and port of the corporate proxy. It is usually provided to you by your IT department.
Hope this helps!
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
But this config file is the same as generated by setup-devcloud-access-user.txt. I use the same file and no success...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
From the question we could see that you’re connecting to devcloud using “ssh devcloud.proxy”. Ensure you’re connecting to devcloud using “ssh devcloud” instead of devcloud.proxy as devcloud is the entry according to the above sent config file.
- Please copy/paste the contents of config file that we had sent previously.
- In the config file, <proxy_name> and <port> are the hostname and port of the corporate proxy respectively. It is usually provided to you by your IT department.
- Please replace <user> with your devcloud userid which is of the form uXXXXX.
- In first linux terminal
-
Execute ssh devcloud
-
Execute qsub -I(copy the node number)
-
- In second linux terminal(Don’t close the first terminal, keep it open)
-
Execute ssh node_number.aidevcloud
-
Port forwarding is done
-
- Then follow the remaining steps in Microsoft Visual studio, please follow: https://devcloud.intel.com/oneapi/documentation/connect-with-vscode/
- If the above steps doesn’t work, Could you please share with us your config file through private message?
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the solution provided helped? Please let us know if the issue still persists.
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for accepting our solution. If you need any further assistance, please post a new question as this thread will no long be monitored.
Regards,
Alekhya

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page