Connect to unix server and execute a command

J

JB

I'm writing a small utility and I need to be able to connect to a unix
server and execute a couple of commands.
How would I go about doing this?

It's fairly simple from the command prompt using telnet - but I have
to wait for the thing to connect, enter username and password, wait
again for it to authenticate, etc.

Any tips?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top