Re: Shelless SSH (General questions)

by schenkp, (5779 days ago) @ woddrazen

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

Did not receive a respones either way except the command worked! How would i use the receive method to check the server output?

locked

Complete thread: