Re: Execute Remote Application using SSH (General questions)
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.