I am working on a SFTP connection to an AWS SFTP host server using public/private key pair. I need to setup agent forwarding for the same, how do I enable that?
This topic was modified 4 years, 1 month ago by Puneet Singh.
Since it may create a security issue, I am not sure you can do with the fileset/ftp protocol.
The USER AGENY|T curl option is to return a spoof or different name not for client use.
Maybe Rob or someone with later knowledge can correct me here.
However you could do it via a script which is called via Tcl
I have not used Agent Forwarding <!–more–>but it seems to you would configure SSH. With the sftp -F option you can pass config options to SSH like:
Host eample.com
ForwardAgent Yes
You might want to make sure your server supports Agent Forwarding as it could be a security issue. You can run ssh in debug like:
<pre class=”command-line”>ssh -v example.com # Connect to example.com with verbose debug output OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /Users/you/.ssh/config debug1: Applying options for example.com debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * exit # Returns to your local command prompt