appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 29 forks source link

Option to not use SSH #78

Open maximelebastard opened 6 years ago

maximelebastard commented 6 years ago

Some SCP server images, for security reasons, allow to be used with scp only. We can't do any ssh command on it. This is done using rssh. This is the case of eeacms/scp-server for example.

It causes drone-scp to fail on the first directory creation called here

Is it something simple to create an option for drone-scp to use scp commands only ?

appleboy commented 4 years ago

@maximelebastard I will add the new flag to ignore create target folder.