SFTP upload through HTTPS proxy

cat myFile.json | ssh [email protected] -o "ProxyCommand=nc.openbsd -X connect -x proxyhost:proxyport %h %p" 'cat > myFile.json'
Overwrites remote file without asking! Uses HTTPS proxy that supports CONNECT. Actually uses SSH and not SFTP to upload the file.

By: casueps
2020-01-22 11:00:20

What Others Think

I like it very much.
johnronald · 57 weeks and 4 days ago
It can be useful and make commenting easy though this can be done in other ways. I prefer to buy personal statement online which gives my project a good boost up. Hopefully will able to find easier ways of the same type.
johnronald · 57 weeks and 4 days ago
Woah, this is pretty clever! This really clears a lot of things up. I'm actually kinda new to coding and all this programming stuff. I'm trying to learn as much as I can. I recently launched an e-commerce website where hundreds of replica jackets are provided, such as fast and furious 9 letty ortiz jacket and others as such. I always try my best to understand all the technicalities of coding and web-development and tend to them as much as I can.
NoraChris · 56 weeks and 3 days ago
Falk1993 · 24 weeks and 6 days ago
There are many different command options are available where you can upload the document with the website proxy as well. I have usually checked the advanced option of written content read more features as well for getting the best writing service option to complete any kind of writing work.
Falk1993 · 24 weeks and 6 days ago
learned alot here but are there any other alternatives? lifecoachneworleansla.com
looneyhans · 14 weeks and 3 days ago
will starting doing this now.. mold remediation thanks for helping me!
idasanka · 9 weeks and 5 days ago
No matter how well you can write, producing a worthwhile essay takes up a lot of time. Perhaps there are other types of coursework, a job, or just hanging out with friends or family that would be a better use of your time. https://best-essays-sites.com/review/prime-essay-net-review.html.
trishapitt · 9 weeks and 4 days ago
kitchen remodeling nashville Absolutely fantastic posting! Lots of useful information and inspiration, both of which we all need!Relay appreciate your work. With game, you can give a striking new look.
yeoyeo · 8 weeks and 1 day ago
love your ideas! stairs
sammm · 5 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: