gulp-ssh icon indicating copy to clipboard operation
gulp-ssh copied to clipboard

Auto-discover private key

Open mojavelinux opened this issue 7 years ago • 3 comments

It would be nice if this library would auto-discover the private key rather than having to read in the file explicitly. I could get behind a boolean flag, a path to a private key, or an environment variable. But having to use the fs API to read the file makes the library very unfriendly for configuration.

mojavelinux avatar Jan 24 '18 06:01 mojavelinux

gulp-sftp offers this feature, so perhaps that can be used as a starting point.

mojavelinux avatar Jan 24 '18 07:01 mojavelinux

At the very least, it should be possible to specify the private key as a path.

mojavelinux avatar Jan 24 '18 07:01 mojavelinux

@zensh You can assign this one to me. I'm partially there in implementing it.

mojavelinux avatar Feb 04 '18 07:02 mojavelinux