2012/3/23 Christopher Judd <[email protected]>: > 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 [email protected] | > > | 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 [email protected] 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CABS=y9ttkuqxoajf3vwq9ppkug4k9s19gylkysvf2l39oao...@mail.gmail.com

