Skip to content

rsync, scp: Fix username lookup

Ben Hutchings requested to merge benh/dput-ng:fix-rsync-scp into master
  • Introduce a dput.uploaders._ssh_common module for code shared between rsync, scp, and sftp. Move find_username() and a new get_ssh_config() function there.
  • In rsync and scp, use the get_ssh_config() function to get the object they now need to pass to get_username().

Closes: #1065203

Merge request reports

Loading