Re: Execute Remote Application using SSH - WeOnlyDo Discussion board

Re: Execute Remote Application using SSH (General questions)

by KG, Friday, August 19, 2005, 05:02 (7035 days ago) @ KG

Yes, I have used that too.
Ssh1.Blocking = true;

Tahnks,
Karthik

Now I am getting this error. Could not obtain channel pty on remote server.

in the code I have added Ssh1.AllocatePty = false;

The Server was installed using default settings.

Thanks,
KG

KG,

in your code try setting Ssh1.Blocking = True, otherwise your instance if destroyed immediately when your function exits, so it doesn't give enough time for component to complete the operation. Blocking should make it work for you.


Complete thread: