Re: Execute Remote Application using SSH (General questions)
Correction in the Command.
Ssh1.Command = mkdir c:\temp ;
Yes, Its a windows server.
Complete C# code
SSH Ssh1 = new SSH(); // Initialize new instance
Ssh1.Login = UserID ; // Set your login/username
Ssh1.Password = password ; // Set your password
Ssh1.Encryption = WeOnlyDo.Client.SSH.EncryptionMethods.Auto;
Ssh1.Protocol = SSH.SupportedProtocols.SSH2;
Ssh1.Command = mkdir c: emp ;
Ssh1.LicenseKey = XYZ ;
Ssh1.Blocking = true;
Ssh1.Port = 22;
Ssh1.AllocatePty = false;
Ssh1.Connect( cigvirtusa3 );That's windows server? Try setting AllocatePty = False.
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