That really depends on what servers are running on the remote system. If telnet is available, its pretty easy, but not very secure. I posted code showing how to run commands using telnet in reply 7 to [url=http://forum.java.sun.com/thread.jsp?forum=31&thread=437231]Telnet to the Unix box from java app[/url].