Re: Shelless SSH - WeOnlyDo Discussion board

Re: Shelless SSH (General questions)

by woddrazen, Tuesday, July 07, 2009, 20:29 (5617 days ago) @ schenkp

Peter,


Did you receive some response (positive/negative) when you execute command on server?

I'm asking this because you can check server output when command is execute using Receive Method.

Also here is example how to handle connection error with server
[code]
...
ssh1.Command = killall -q vlc; export DISPLAY=:0.0; vlc --volume 512 rtsp://stfamtv0001/streama ;
try
{
ssh1.Connect();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message.ToString());
}
...
[/code]
Drazen


Complete thread: