how to automate scp transfers?
Xn Nooby
xnooby at gmail.com
Mon May 21 21:18:47 UTC 2007
I am now using expect, thanks!
On 5/21/07, jmurray at whoi.edu <jmurray at whoi.edu> wrote:
>
> Quoting Xn Nooby <xnooby at gmail.com>:
>
> > I need to automate some scp file transfers between a PXE-booted client
> and
> > it's Server. Apparently, I cannot automatically supply the Server
> account's
> > password as an argument. Since the PXE-based machine is coming from a
> > generated image, I do not reaaly have access to it in order to run
> > ssh-keygen. I don't know a lot about SSH or private/public keys, that
> why I
> > was hoping to supply the password as a command-line argument to
> scp. This
> > is in a fairly secure environment, but we are trying to use scp instead
> of
> > something that needs another server (like ftp). Any suggestions on how
> to
> > automate scp file-transfers?
> >
>
>
> Can you generate the image with the key keys in it already? Or maybe you
> can use
> tcl/expect and send a passwd.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070521/e04c9b60/attachment.html>
More information about the ubuntu-users
mailing list