Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3200

sftp BINHOST ignores '-P' in PORTAGE_SSH_OPTS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:

      x86-64bit generic_64

      Description

      Using an sftp package server, PORTAGE_SSH_OPTS works for options such as "-i /path/to/my/key" but it does not work for either "-P 2222" or "-oPort=2222". I confirmed in the firewall logs of the package server that emerge is attempting to connect to the sftp server via port 22, and not the port specified in PORTAGE_SSH_OPTS.

      Portions of my make.conf:

      PORTAGE_BINHOST="sftp://packages@my.server.com/packages"
      PORTAGE_SSH_OPTS="-P 2222"
      #PORTAGE_SSH_OPTS="-oPort=22"
      #PORTAGE_SSH_OPTS="-i /path/to/my/key"
      FEATURES="${FEATURES} getbinpkg"
      

      Note that uppercase P is correct for sftp (lowercase p is used for ssh).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hick518 hick518
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: