[Bug 3201] New: provide an option to use sftp instead of ssh 'exec sh -c …' for installing ssh-keys via ssh-copy-id

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Aug 11 00:26:49 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3201

            Bug ID: 3201
           Summary: provide an option to use sftp instead of ssh 'exec sh
                    -c …' for installing ssh-keys via ssh-copy-id
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-copy-id
          Assignee: unassigned-bugs at mindrot.org
          Reporter: blaimi at blaimi.de

currently the command ssh-copy-id requires shell-access on the
server-side.

To allow the usage of ssh-copy-id on systems where shell-access is not
allowed like on some commercial storage providers (e.g. hetzner
storage-box), the modification of authorized_keys could be done through
downloading, modifying and uploading instead of executing a command on
the server-side.

If nothing prevents this, we could provide some developer-resources to
achieve this with an optional flag like '--use-sftp' or '-s'.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list