[ Comments below, in-line ] On 02/07/2013 09:52 PM, Seb wrote: > On Thu, 07 Feb 2013 21:45:52 -0500, > Pablo Sanchez <pa...@blueoakdb.com> wrote: > >> On 02/07/2013 09:42 PM, Seb wrote: > >>> I am trying to run some commands on the command prompt of a Windows >>> Vista VM on a Linux host. I'd like to do this from a shell script in >>> the host, as there's no need to have interactivity. I'd highly >>> appreciate pointers to examples and reading suggestions. > >> Why not install `sshd' on the Windows machine and `ssh' to the box? > > That would assume that the VM is running.
:) ... well, you did say: I am trying to run some commands on the command prompt of a Windows Vista VM on a Linux host. Which implies it's running. Okay, let's see what you're really after ... > I'd like to write a shell script in the Linux host, have it somehow > run the Windows VM, run the command in the command prompt, and exit. Ah, so you want to use VirtualBox commands to start the VM. Once the VM is running, you want to log in to the VM and run some commands on the VM. When you say `and exit', does that mean stop the VM or terminate access to the VM or yes, both. :) No matter ... :) The above is all possible. You'll still need something like `sshd' installed on the VM and you'll need to use VirtualBox CLI commands to manage the VM (start/stop). Have you looked at the User Manual? http://www.virtualbox.org/manual/UserManual.html Specifically, check out `http://www.virtualbox.org/manual/ch08.html' Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Blog: http://pablo.blog.blueoakdb.com Fax: 760.860.5225 (US) ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe