Add SCP as an option for Script Run step on Linux
P
Polite Manatee
When returning values from a script step on Linux, Harness utilises SFTP via JSCH to retrieve a results file from the target server to the Delegate. As SFTP is a separate subsystem, sometimes it is disabled for security hardening and the step will fail.
Configuration tools like Ansible allow the selection of SCP as an alternative transfer method where SFTP is disabled. JSCH is capable of both SFTP & SCP, and SCP does not require a separate subsystem outside of the SSH Daemon.
It would be good if the script step either allowed for the selection of the transfer mechanism, or even better, automatically tried both before failing.
Log In