SSH connections to Windows Servers are un reliable

Hi

We are using Finalbuilder 7.0.0.2183 to deploy our code to Windows 2008 servers via SSH. We use SilverShield as an SSH server on our servers and when using a standard SSH client such as Putty everything works as expected.

However when I use the SSH Open Connection / SSH Execute Command the script hangs intermittently. There is no particular pattern on where it hangs other than within the first 3 or 4 SSH commands. We end up killing Finalbuilder and re starting it

Within SSH Open we have selected ‘cmd’ as the script type.

Do you have any ideas on why these scripts might hang

Thanks

Rob

Hi Rob

I need more information, for example what settings do you have on yous ssh server, what are the commands you are running?

I did manage to get it to hang with “cd blah”, it seems the silvershield server requires full paths rather than relative paths (otherwise it never returns from running the command). Other than that, I’ve had it sitting here running in a loop with various commands for the last hour without any issues.

I have made a change so it’s at least possible to terminate the action if it hangs on the command.

Hi

I was running the following commands

mkdir d:\robtest (with ignore failure enabled, for when the folder already exists)
followed by
echo %time% >> d:\robtest\test.txt

After your last comments I can confirm that cd \blah works indefinitely

I will try an add some logic on the mkdir (if exist skip) and retest if I get time later today. However should finalbuilder command action timeout value ensure the script continues / errors?

Thanks

Rob

As long as I send commands that will succeed then everything is ok. :slight_smile:
Guess it would be nice for Finalbuilder to capture the exceptions in future…
Thanks
Rob

Unfortunately we can only capture what we get back from the ssh server… the error is occuring on the ssh server and it isn’t writing anything back to the client.