# BUG: SSH execute

**URL:** https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842
**Category:** Discussion
**Created:** [August 30, 2011, 9:37am UTC](https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842 "2011-08-30T09:37:52Z")
**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: [August 30, 2011, 9:37am UTC](https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842/1 "2011-08-30T09:37:52Z")

</div>

Hey Guys,

I&nbsp;am trying to run some basic commands through remote SSH&nbsp;and I&nbsp;just get:

An unexpected error occured : System.NullReferenceException: Object reference not set to an instance of an object.  
&nbsp;&nbsp; at VSoft.FinalBuilder.SSH.InteractiveClient.Send(String command)  
&nbsp;&nbsp; at VSoft.FinalBuilder.SSH.ActionExecuteCommand.OnExecute()  
&nbsp;&nbsp; at VSoft.FinalBuilder.SSH.ActionBase.Execute()  
&nbsp;&nbsp; at VSoft.CustomActionApi.BaseAction.ExecuteWrapper(ICustomActionExecuteContext Context, ExecuteDelegate Target)  
&nbsp;

The commands are nothing crazy:

Pkill python.exe

a change directory

and an execution of python

&nbsp;

Any idea why the first step gives me this error?

&nbsp;

I am using an SSH&nbsp;open connection with a timeout of 100,000 ms which should be more than enough time. All of the settings to the server are correct and working fine when done manually. Let me know what you guys come up with thanks!

&nbsp;

Basically the finalbuilder action list is:

&nbsp;

SSH&nbsp;Open Connection:&nbsp;Remote Server

SSH Execute:&nbsp;pkill python.exe

(Errors while attempting second action)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [August 31, 2011, 12:32pm UTC](https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842/2 "2011-08-31T12:32:45Z")

</div>

Hi   
  
 You haven’t given us anywhere near enough information to work with. Which version of FinalBuilder? Which Server operating system/version/ssh server? How did you start the project (Run, Run Selected etc)? Without that the chances of us being able to reproduce the problem are very low.

---

<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: [August 31, 2011, 3:13am UTC](https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842/3 "2011-08-31T03:13:43Z")

</div>

The version of finalbuilder is 7.0.0.1442, On my local machine I’m running win 7 32 bit and the remote system is running solarisX86 - We normally run Putty for all of our SSH needs but were using the SSH Execute etc to try and replace that instead.   
  
 I tried with run parent (And children) and run selected. Both produced the same error.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 1, 2011, 2:33am UTC](https://www.finalbuilder.com/forums/t/bug-ssh-execute/1842/4 "2011-09-01T02:33:40Z")

</div>

We don’t have a solaris machine to test with here at this time. Can you send your project file to support at finalbuilder dot com so we can at least make sure we are testing the same set of actions. I see if we can get a solarus virtual machine up and running, although from my quick look that may be a problem (we use hyper-v).
