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

PARTNER SPOTLIGHT

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 
Top
fletch00
Posts: 1

Hi,

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

Host sandbox
User fletch@abc.edu
ProxyCommand ssh -q proxy-01 nc sandbox.xyz.com 22

sftp attempts error out due to incorrect username

I verified direct sftp from the proxy works:

proxy-01 ~]$ sftp fletch@abc.edu@sandbox.xyz.com
Connecting to sandbox.xyz.com...
Welcome to sandbox.xyz.cxom
sftp>

any pointers to get the user name passed ?

thanks!

Posted 3 years ago
Top
 



Topic Closed

This topic has been closed to new replies.