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 · 38 weeks and 1 day 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 · 38 weeks 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 · 36 weeks and 6 days ago
Falk1993 · 5 weeks and 2 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 · 5 weeks and 2 days 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: