Re: Execute Remote Application using SSH (General questions)
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:\temp ;
Ssh1.LicenseKey = XYZ ;
Ssh1.Blocking = true;
Ssh1.Port = 22;
Ssh1.AllocatePty = false;
Ssh1.Connect( servername ); // Windows 2003 Server. Default F-Secure Server Installation.
Even the sample application does not work for the same server. Is it to something with windows firewall?
Thanks,
Karthik
Hmm, in that case I have no more ideas. AllocatePty is made exactly for that purpose, and in all cases it did help. I can't know what's going on. Perhaps F-Secure has some logs that can say what happened?
Can you paste your full code?
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