SFTP Enable Agent Forwarding

Clovertech Forums Cloverleaf SFTP Enable Agent Forwarding

  • Creator
    Topic
  • #118162
    Puneet Singh
    Participant

      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.
    Viewing 0 reply threads
    • Author
      Replies
      • #118164
        Charlie Bursell
        Participant

          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

          I am simply reading this at: https://developer.github.com/v3/guides/using-ssh-agent-forwarding/
          You could take a look. Also “man sftp’ helps</pre>
          <pre class=”command-line”></pre>

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.