Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet and command in one line?

Status
Not open for further replies.

mayh3m

Technical User
Jul 12, 2002
84
ZA
Hi Everyone

I need to be able to telnet from a linux box to a Windows Telnet Server and run a command from a script.
I know with ssh you can use "ssh username:password@ipaddress command to run on remote"
Is there some way similar I can do this with my setup? I can't go loading extra servers on the windows box, so it has to work with the windows telnet server.

Your help and suggestions are much appreciated

 
You can also have a look at expect. It's designed to
automate this stuff.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top