sftp through authenticating proxy
On Fri, 23 Mar 2012 13:06:44 -0400, Christopher Judd wrote:
> Hi, Hi. No html, please. Your message contains "70" extra lines of "72" ;-) > Does anyone know of a way to establish an sftp connection through > an authenticating proxy? Google knows something: http://stackoverflow.com/questions/3334123/proxy-details-with-sftp-command For other SFTP clients, YMMV. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: jkiccj$ld4$13@dough.gmane.org">http://lists.debian.org/jkiccj$ld4$13@dough.gmane.org |
sftp through authenticating proxy
2012/3/23 Christopher Judd <judd@wadsworth.org>:
> Hi, > > > Does anyone know of a way to establish an sftp connection through an > authenticating proxy? > > > -Chris > > > ------------------------------------------------------------------------ > > | Christopher Judd, Ph. D. | > > | Research Scientist III | > > | NYS Dept. of Health judd@wadsworth.org | > > | Wadsworth Center - ESP | > > | P. O. Box 509 518 486-7829 | > > | Albany, NY 12201-0509 | > > ------------------------------------------------------------------------ > > > > > IMPORTANT NOTICE: This e-mail and any attachments may contain > confidential or sensitive information which is, or may be, legally > privileged or otherwise protected by law from further disclosure. It > is intended only for the addressee. If you received this in error or > from someone who was not authorized to send it to you, please do not > distribute, copy or use it or any attachments. Please notify the > sender immediately by reply e-mail and delete this from your > system. Thank you for your cooperation. Hi You can trying setting the variable http_proxy like export http_proxy=http://username:password@proxy:8080/ Then add a the following two lines for each host you wanna access through the proxy in the ~/.ssh/config file: Host host1.dyndns.org ProxyCommand connect-proxy -H proxy:8080 %h 22 If you have to use a isa proxy (ntl authentication) you can pass through using the ntlmaps package. In this case is a bit different: 1.- install and configure the ntlmaps package (there are many tutorials online) 2.- set the variable http_proxy like export http_proxy=http://localhost:5865 3.- Then add a the following two lines for each host you wanna access through the proxy in the ~/.ssh/config file: Host host1.dyndns.org ProxyCommand connect-proxy -H localhost:5865 %h 22 Is all the steps are ok you will be able to launch a ssh session against the host1.dyndns.org through the proxy so in theory you will be able sftp the remote server. I hope it helps Best regards Juan -------------------------------------------------------------------------------------- Juan Sierra Pons juan@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -------------------------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: CABS=y9tTkuqxOaJF3VWQ9PpKUg4K9S19gyLkysvF2L39oaORQ Q@mail.gmail.com">http://lists.debian.org/CABS=y9tTkuqxOaJF3VWQ9PpKUg4K9S19gyLkysvF2L39oaORQ Q@mail.gmail.com |
| All times are GMT. The time now is 03:38 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.