I was looking for a way to use SCP via Fabric, and after some investigation found issue #945 (Allow option for get/put to be handled by scp), currently closed.
See Paramiko #150 - Fabric won't be able to take any action on this until we decide how/whether Paramiko should.
_Originally posted by @bitprophet in https://github.com/fabric/fabric/issues/945#issuecomment-26168826_
That was in 2013, and the question still seems open regarding how to do SCP instead of SFTP.
https://github.com/fabric/fabric/blob/e9939d68b734935f0c98d98817912ad7c698238f/fabric/transfer.py#L26
Given that Fabric cannot use SCP for transfers, can the documentation be updated to reflect that by omitting SCP? Might save others some investigative effort.
Thanks for your time!
PS: I'm still using Fabric for SSH workflows. Very easy to use! 👍
I addressed this in #2029
scp seems less and less recommended by SSH upstream anyways, so it makes sense to remove it.
My SSH host does not support SFTP, only SCP and reading
File transfer via SFTP and/or SCP.
made it obvious to me that I can somehow select which protocol do I wish to use. And yes, afer some time searching trough the sources and then on the internet, I am here with exactly the same question.
+1
My client doesn't support sftp and I wasted time believing it was possible because the doc is wrong.
Can you remove the scp mention from the documentation or mention that this is not possible?
Thank you
+1
My client also doesn't support SFTP protocol and I also wasted long hours of forcing fabric made file transfer. Please, change the documentation.
can we limit the number of +1 comments here? you can simply hit the :+1: button on the original comment instead, instead of ringing everyone here.
Most helpful comment
can we limit the number of +1 comments here? you can simply hit the :+1: button on the original comment instead, instead of ringing everyone here.