I know how to run :ssh module in Erlang and it works fine in my app. Now I have a need a run scp as well, to copy files. How can I do that? Without third-party dependencies.
We use this in Nerves with the nerves_init_gadget application. Check this out here. Specifically, look at this option:
{:subsystems, [:ssh_sftpd.subsystem_spec(cwd: '/')]}
5 Likes






















