Re: Execute Remote Application using SSH - WeOnlyDo Discussion board

Re: Execute Remote Application using SSH (General questions)

by KG, Friday, August 19, 2005, 15:27 (7035 days ago) @ wodSupport

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: