The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Linux

passing username through netcat (.ssh/config ProxyCommand)

(1 post)
  • Started 3 years ago by fletch00
  • Topic Viewed 962 times


Recommended: Clean Your Mac the Easy Way with CleanMyMac 3

If you want to clean up your Mac the easy way, CleanMyMac is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyMac 3 for Free Today

Posted yesterday 
Posts: 1


I am setting up outgoing proxied sftp using ~/.ssh/config:

Host sandbox
ProxyCommand ssh -q proxy-01 nc 22

sftp attempts error out due to incorrect username

I verified direct sftp from the proxy works:

proxy-01 ~]$ sftp
Connecting to
Welcome to

any pointers to get the user name passed ?


Posted 3 years ago

Topic Closed

This topic has been closed to new replies.