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.
Complete thread:
- Execute Remote Application using SSH - KG, 2005-08-18, 23:30
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-18, 23:46
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 00:42
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 00:45
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 02:05
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 05:02
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 08:16
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:27
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:29
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 15:32
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:50
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 16:58
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 17:24
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 17:29
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 17:31
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-30, 01:57
- Re: Execute Remote Application using SSH - KG, 2005-08-30, 22:36
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-30, 01:57
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 17:31
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 17:29
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 17:24
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 16:58
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:50
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 15:32
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:29
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 15:27
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 08:16
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 05:02
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 02:05
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-19, 00:45
- Re: Execute Remote Application using SSH - KG, 2005-08-19, 00:42
- Re: Execute Remote Application using SSH - wodSupport, 2005-08-18, 23:46