Re: [SLUG] Re: SFTP Help

From: Eben King (eben1@tampabay.rr.com)
Date: Tue Oct 11 2005 - 11:03:31 EDT


On Tue, 11 Oct 2005, Keith Lelacheur wrote:

> On 10/11/05, Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> wrote:
> >
> > On 10/11/05, Keith Lelacheur <themercuryman@gmail.com> wrote:
> > >
> > > I am trying to automate a file push using SFTP. I am able to connect in
> > > an interactive session and push the file easily. I am able to somewhat
> > > automate the procedure using the -b option with the actual push
> > > command. I am having trouble getting the non-interactive login though.
> > > I have used the "sftp -b pushbatch fakeuser@fakehost" type command,
> > > but I do not know how to include the username in either the batchfile
> > > or the command line.
> >
> > Why not use scp instead? It's meant for that kind of noninteractive thing.
>
> I do not know if I can use "scp" (I was not aware that it existed actually).
> The thing is I am sending to someone elses SFTP server that I do not have
> control over. Is SCP something that is implicit in SSH/SFTP server
> installations?

Yes. It appears to be equivalent to catting the file over an SSH connection
(without the worries about escape characters and all that).

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Logic is a systematic method of coming to the wrong conclusion with confidence.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:08:22 EDT