Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Allow SFTP logon with private key #7

Open
robertc opened this issue Oct 6, 2015 · 4 comments
Open

Allow SFTP logon with private key #7

robertc opened this issue Oct 6, 2015 · 4 comments

Comments

@robertc
Copy link

robertc commented Oct 6, 2015

SSH.Net has an SftpClient constructor which allows logon with private keys:

public SftpClient(string host, int port, string username, params PrivateKeyFile[] keyFiles);

There doesn't appear to be any support for using this logon method through OneFileSystem.

@picrap
Copy link
Member

picrap commented Oct 6, 2015

Good idea, I'll do this.

@robertc
Copy link
Author

robertc commented Oct 6, 2015

I've also found this approach using a connection object.

@picrap
Copy link
Member

picrap commented Oct 7, 2015

Just to let you know: I think it's a good idea, however I won't be able to implement it soon (maybe in a few weeks). If you're in a hurry, I suggest you fork the project and make a pull request with the change.

@robertc
Copy link
Author

robertc commented Oct 7, 2015

Thanks, my short term need is for SFTP only so may just use SSH.Net directly for the initial work. If I get clearance from my manager to work on the implementation in OneFileSystem I'll comment here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants