- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From within my corporate firewall, I usually have to set up SSH with `ProxyCommand nc -X 5 -x [proxy host]:[proxy port] %h %p`. I noticed that the instructions for https://devcloud.intel.com/datacenter/learn/connect-with-ssh-linux-macos/ require proxying through a non-TTY SSH connection. How can I do both?
I currently have in ~/.ssh/config:
Host devcloud
User guest
Hostname devcloud.intel.com
IdentityFile ~/.ssh/devcloud-access-key-[user ID].txt
RequestTTY no
ProxyCommand nc -X 5 -x [proxy host]:[proxy port] %h %p
Unfortunately, when I try to login the connection succeeds but stalls after emitting some SSH handshake info:
$ ssh devcloud
SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
- Tags:
- General Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reaching out to us.
Kindly configure ~/.ssh/config as below :
Host devcloud
User [user ID]
HostName c009
Port [proxy port]
IdentityFile ~/.ssh/devcloud-access-key-[user ID].txt
ProxyCommand ssh -T devcloud-socks-proxy
Host devcloud-socks-proxy
User guest
Hostname devcloud.intel.com
IdentityFile "~/.ssh/devcloud-access-key-[user ID].txt"
LocalForward [proxy port] colfaxserver:22
ProxyCommand nc -x [proxy host] %h %p
Hope this works fine !!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reaching out to us.
Kindly configure ~/.ssh/config as below :
Host devcloud
User [user ID]
HostName c009
Port [proxy port]
IdentityFile ~/.ssh/devcloud-access-key-[user ID].txt
ProxyCommand ssh -T devcloud-socks-proxy
Host devcloud-socks-proxy
User guest
Hostname devcloud.intel.com
IdentityFile "~/.ssh/devcloud-access-key-[user ID].txt"
LocalForward [proxy port] colfaxserver:22
ProxyCommand nc -x [proxy host] %h %p
Hope this works fine !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That worked, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to hear that your issue got fixed !!
We are closing this thread. In case of any further queries kindly open a new thread.

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