<br>I am now using expect, thanks!<br><br><br><br><div><span class="gmail_quote">On 5/21/07, <b class="gmail_sendername"><a href="mailto:jmurray@whoi.edu">jmurray@whoi.edu</a></b> <<a href="mailto:jmurray@whoi.edu">jmurray@whoi.edu
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Quoting Xn Nooby <<a href="mailto:xnooby@gmail.com">xnooby@gmail.com
</a>>:<br><br>> I need to automate some scp file transfers between a PXE-booted client and<br>> it's Server. Apparently, I cannot automatically supply the Server account's<br>> password as an argument. Since the PXE-based machine is coming from a
<br>> generated image, I do not reaaly have access to it in order to run<br>> ssh-keygen. I don't know a lot about SSH or private/public keys, that why I<br>> was hoping to supply the password as a command-line argument to scp. This
<br>> is in a fairly secure environment, but we are trying to use scp instead of<br>> something that needs another server (like ftp). Any suggestions on how to<br>> automate scp file-transfers?<br>><br><br><br>
Can you generate the image with the key keys in it already? Or maybe you can use<br>tcl/expect and send a passwd.<br><br>----------------------------------------------------------------<br>This message was sent using IMP, the Internet Messaging Program.
<br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>