Re: Shelless SSH (General questions)
Peter,
I think I misunderstood you previously. You simply need to execute killall -q vlc command on server side?
If so, then I would suggest wodSSH.Net or wodSSH ActiveX. If so, then all the code to accomplish that would be this (using wodSSH.Net):
[code] WeOnlyDo.Client.SSH ssh1 = new WeOnlyDo.Client.SSH();
ssh1.Hostname = your_hostname ;
ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.SSHAuto;
ssh1.Login = your_login ;
ssh1.Password = your_password ;
ssh1.Blocking = true;
ssh1.Command = killall -q vlc\r\n ;
ssh1.Connect();[/code]wodSSH.Net is available for download from here: http://www.weonlydo.com/Samples/wodSSH.NET.msi
This is native .Net component.
Regards,
Damba
Damba,
Is there a way to have ssh1.Hostname = your_hostname ; read an envirnment variable like ThinConnectedFrom=172.21.72.57 and use the IP address as the hostname?
Complete thread:
- Shelless SSH - schenkp, 2009-07-06, 21:06
- Re: Shelless SSH - wodSupport, 2009-07-06, 21:10
- Re: Shelless SSH - schenkp, 2009-07-06, 21:25
- Re: Shelless SSH - wodDamir, 2009-07-06, 21:41
- Re: Shelless SSH - schenkp, 2009-07-06, 21:44
- Re: Shelless SSH - wodDamir, 2009-07-06, 21:50
- Re: Shelless SSH - schenkp, 2009-07-06, 21:55
- Re: Shelless SSH - wodDamir, 2009-07-06, 22:32
- Re: Shelless SSH - schenkp, 2009-07-07, 16:15
- Re: Shelless SSH - woddrazen, 2009-07-07, 16:31
- Re: Shelless SSH - schenkp, 2009-07-07, 17:00
- Re: Shelless SSH - woddrazen, 2009-07-07, 17:14
- Re: Shelless SSH - schenkp, 2009-07-07, 18:23
- Re: Shelless SSH - woddrazen, 2009-07-07, 18:27
- Re: Shelless SSH - schenkp, 2009-07-07, 19:38
- Re: Shelless SSH - woddrazen, 2009-07-07, 19:58
- Re: Shelless SSH - schenkp, 2009-07-07, 20:15
- Re: Shelless SSH - woddrazen, 2009-07-07, 20:29
- Re: Shelless SSH - schenkp, 2009-07-07, 20:46
- Re: Shelless SSH - woddrazen, 2009-07-07, 21:20
- Re: Shelless SSH - schenkp, 2009-07-08, 13:33
- Re: Shelless SSH - wodDamir, 2009-07-08, 13:37
- Re: Shelless SSH - schenkp, 2009-07-08, 13:57
- Re: Shelless SSH - wodDamir, 2009-07-08, 14:03
- Re: Shelless SSH - schenkp, 2009-07-08, 14:43
- Re: Shelless SSH - wodDamir, 2009-07-08, 14:57
- Re: Shelless SSH - schenkp, 2009-07-08, 15:15
- Re: Shelless SSH - wodDamir, 2009-07-08, 14:57
- Re: Shelless SSH - schenkp, 2009-07-08, 14:43
- Re: Shelless SSH - wodDamir, 2009-07-08, 14:03
- Re: Shelless SSH - schenkp, 2009-07-08, 13:57
- Re: Shelless SSH - wodDamir, 2009-07-08, 13:37
- Re: Shelless SSH - schenkp, 2009-07-08, 13:33
- Re: Shelless SSH - woddrazen, 2009-07-07, 21:20
- Re: Shelless SSH - schenkp, 2009-07-07, 20:46
- Re: Shelless SSH - woddrazen, 2009-07-07, 20:29
- Re: Shelless SSH - schenkp, 2009-07-07, 20:15
- Re: Shelless SSH - woddrazen, 2009-07-07, 19:58
- Re: Shelless SSH - schenkp, 2009-07-07, 19:38
- Re: Shelless SSH - woddrazen, 2009-07-07, 18:27
- Re: Shelless SSH - schenkp, 2009-07-07, 18:23
- Re: Shelless SSH - woddrazen, 2009-07-07, 17:14
- Re: Shelless SSH - schenkp, 2009-07-07, 17:00
- Re: Shelless SSH - woddrazen, 2009-07-07, 16:31
- Re: Shelless SSH - schenkp, 2009-07-07, 16:15
- Re: Shelless SSH - wodDamir, 2009-07-06, 22:32
- Re: Shelless SSH - schenkp, 2009-07-06, 21:55
- Re: Shelless SSH - wodDamir, 2009-07-06, 21:50
- Re: Shelless SSH - schenkp, 2009-07-06, 21:44
- Re: Shelless SSH - wodDamir, 2009-07-06, 21:41
- Re: Shelless SSH - schenkp, 2009-07-06, 21:25
- Re: Shelless SSH - wodSupport, 2009-07-06, 21:10