-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Urh Srečnik opened WAGON-633 and commented
Current implementation relies on "scp" and "ssh" external commands. I propose to only use "sftp" external command because if sshd config contains "ForceCommand internal-sftp" then:
-
"ssh" command cannot be used
-
"scp" command requires version >= 9.0 (this issue is also described here: https://serverfault.com/questions/420457/openssh-anything-like-internal-sftp-but-for-scp )
I have implemented such wagon provider (sftp only) and published it here (this is basically a proof of concept which solves my problem, but would need a bit more work to support Windows environments etc):
https://github.com/usrecnik/maven-wagon-ssh-sftp
Should i provide a pull request to current ssh-external project? I'm not sure if this should be considered as an improvement to existing ssh-external or should it be treated as another implementation of a wagon provider.
I'm happy to help and I would like official wagon to support "ForceCommand internal-sftp" configuration - how should we proceed?
Affects: 3.5.3
Issue Links:
- WAGON-616 Deprecate Wagon SSH Provider