# Execute program on Linux

**URL:** https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356
**Category:** Discussion
**Created:** [October 22, 2009, 9:13am UTC](https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356 "2009-10-22T09:13:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 22, 2009, 9:13am UTC](https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356/1 "2009-10-22T09:13:37Z")

</div>

Hi

I need to copy some files to a linux machine, then run a program there, and copy some files back . The copying can be done using SFTP actions (connect, Upload and Download). I am having problems in trying to execute a program remotely (from my Windows machine, when the FB&nbsp; version 6.3.0.1589 is installed). can anyone help ?? Thanks Daphna

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 22, 2009, 3:00am UTC](https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356/2 "2009-10-22T03:00:13Z")

</div>

You could use ssh in command line.&nbsp;We are doing this with cygwin between XP and&nbsp;Windows Server 2003. Cygwin emulates Unix so I doubt you would get a different result that we got.  
  
To avoid logging password, you can either crypt it, exclude it from log or (what we've done) connect with public/private key.  
  
Tell us if this works for you.

---

<div class="post-metadata">

### Author: ![elissen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/8e7dd6/32.png) [@elissen](https://www.finalbuilder.com/forums/u/elissen)
#### Post date: [October 23, 2009, 12:06pm UTC](https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356/3 "2009-10-23T12:06:49Z")

</div>

We use Plink (from the maker of putty) for this. Using a single executable is in our situation a lot easier than having to install cygwin.   
  
 [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 26, 2009, 9:34am UTC](https://www.finalbuilder.com/forums/t/execute-program-on-linux/1356/4 "2009-10-26T09:34:19Z")

</div>

Thanks, I used Plink and it works fine. Daphna
