stefanbirkner / fake-sftp-server-rule

A JUnit rule that runs an in-memory SFTP server.
MIT License
40 stars 26 forks source link

Add SSH key support #15

Open natrem opened 5 years ago

natrem commented 5 years ago
natrem commented 5 years ago

There are issues on Travis that I don't manage to reproduce locally (windows desktop so it might be related). I'll add some commits to provide more logs during tests; please do not merge for now

natrem commented 5 years ago

Note: from the build logs it seems like a permission issue on Travis:

invalid file=/home/travis/build/stefanbirkner/fake-sftp-server-rule/target/test-classes/keys/dummy_key.pub permissions: Permissions violation (GROUP_READ)

After investigation the authorized_keys is checked on access rights but we can disable this.

johanhaleby commented 5 years ago

I'd really like to see this merged, what's the status? Anything I can do to help?

dtrouillet commented 5 years ago

Hello,

I'm very insterested by this support. Why is not merged ?

Regard

daniele-xp commented 4 years ago

I'm interested too .. @stefanbirkner could you merge it?

thenatog commented 4 years ago

Also think this would be great to see merged.

sourcecodeas commented 3 years ago

What's the status of this PR @stefanbirkner? Why is it not merged or updated 2 years after the last update? We are not able to test integrations which are dependant on a this.

sourcecodeas commented 3 years ago

What's the status of this PR @stefanbirkner? Why is it not merged or updated 2 years after the last update? We are not able to test integrations which are dependant on a this.

Ping @stefanbirkner

stefanbirkner commented 3 years ago

I remember that there is a corner case why I didn't merge it. I start to improve Fake SFTP Server Rule next week.

achimgrimm commented 2 years ago

Hi @stefanbirkner, can you please give us an update?

stefanbirkner commented 2 years ago

I started to look at the issue again. All memory is lost.

stefanbirkner commented 2 years ago

I'm still working on it. I found that it is not as easy as I thought.

marklee230 commented 2 years ago

Hi @stefanbirkner, have you made any progress with merging this pr?

stefanbirkner commented 2 years ago

I'm working on a different API for SSH access but there are some problems. I cannot promise any date for when this will be done because my time is limited. If anyone wants to fork this project and add SSH support: feel free to do it and add the Maven coordinates in this PR.