Function for fetching using scp?

Does anyone have a sftp fetcher that can handle a ssh config file in a similar manner as fetchgitPrivate? While it should be possible to fetch over sftp using fetchurl I need to use a ssh config file, which curl does not support.

Wrote an implementation quickly and will open a PR for it later.

3 Likes