login about faq

Our senario

IIS web application , (windows server 2003) IIS security set to use user ABC for anonymous users (pool and Virtual dir)

Our app is a .net app, that calls a perl script which performs an SSH2 (shell) session between the windows server and a Unix box.

When we run the perl script logged in directly to the machine, the SSH2 session works as expected.

When we run it from the Web application using the same user (but through IIS) SSH2 fails and actually hangs indefinately.

We've verified the process are being run by the right user (in task manager) and suspect something in the context profile/environment variables is being dropped. There are significant difference between the two sets of environment variables.

We also tried to force SSH2 to use a specific key, but the command line ssh2 is ignoring our command line switches.

We are on version 4.4.10

We are not the installer of this application and expect that the person had no experience installing it (although it was a centrally created install package for our environmet)

We spent 4 hours troubleshooting this and are seriously stuck.

Any help is appreciated.

asked Jul 14 '10 at 12:49

Ray%20H's gravatar image

Ray H

Can you post the actual command line that you're trying to run and the error you're seeing?


answered Aug 06 '10 at 10:02

Roman's gravatar image

Roman ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 14 '10 at 12:49

Seen: 1,942 times

Last updated: Apr 01 '11 at 22:22

Related questions

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.