Thursday 28 September 2017

How do you use nodejs to transfer a file via SCP that requires RSA Authentication?

Hey guys, sorry for the very basic question here.I have an AWS instance, and I'd like my program to automatically upload files to the server via SCP. I have the hostname string, the username and password. I also have the RSA authentication key in a PEM file.I looked at both the SCP and SCP2 modules but I couldn't figure out how to do RSA authentication with those packages.How is this to be done? Thanks in advance!!

Submitted September 28, 2017 at 10:51PM by thenewstampede

No comments:

Post a Comment