Tail file on remote machine

Michael Bildner mrbmailing at yahoo.com
Sun Mar 27 01:05:25 MET 2005


Hi, I am attempting to use the MindTerm Java APIs to
connect to a remote server (via SSH) and tail a log
file. The ideal solution is to have a GUI where I can
click a button to start the tail, a button to stop the
tail, and a text area where the data is displayed
while the tail is running.

So the question is how do I accomplish the following
tasks:
1. Connect to the remote machine
2. Run the command "tail -f 'somelogfile'" and have
the output returned to the local machine
3. Stop the command and disconnect from the remote
machine

Code samples would be very helpful :)

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mindterm-users mailing list