ArxOne / OneFilesystem

Unified filesystem to handle local files FTP, SFTP
MIT License
10 stars 1 forks source link

Allow SFTP logon with private key #7

Open robertc opened 9 years ago

robertc commented 9 years ago

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 commented 9 years ago

Good idea, I'll do this.

robertc commented 9 years ago

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

picrap commented 9 years ago

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 commented 9 years ago

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.