[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Can SFTP do this



Not all sftp sites allow scp and/or have bash.

Here, we communicate with many partners over sftp and several of them use canned apps on Windows for the purpose.   Even those that do UNIX/Linux often have jailed the users on their end so have limited functionality beyond what sftp itself allows.

Since sftp has a batch option it is simplest for us to rely on sftp scripts.   We typically get ssh trust established to avoid having to store the password in clear text anywhere.   (I did recently play with ?sshpass? as it allows one to send a password on the initial connection and it works but the preference is to do trusts instead.)


From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Scott Plante
Sent: Thursday, October 13, 2016 3:02 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Can SFTP do this


Actually it does if you have password-less ssh set up (keys + ssh-add) and bash-completion. It's working for me--I just tried it.

Scott
________________________________
From: "Alex Carver" <agcarver+ale at acarver.net<mailto:agcarver+ale at acarver.net>>
To: ale at ale.org<mailto:ale at ale.org>
Sent: Thursday, October 13, 2016 11:51:50 AM
Subject: Re: [ale] Can SFTP do this

On 2016-10-13 02:35, DJ-Pfulio wrote:
> On 10/13/2016 01:26 AM, Steve Litt wrote:
>> Unless I know the *exact* spelling of the path and file on the far end,
>> I use sftp because it's discoverable.
>
> tab completion.
>
> Just sayin'.

Tab completion doesn't work over scp for the remote side file system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161013/f2b7d117/attachment.html>