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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet froma Windows to Aix server

Status
Not open for further replies.

surfguy

Technical User
May 4, 2007
14
IT
Hi All,

I need to telnet via script from a Windows server to a
Unix(Aix) server, how can i do??

Regards,
Riccardo
 
Windows has a limited telnet client built in. If you open a cmd (dos) window, you can just type: telnet aix_host.

Will the script be unattended? If so, you will need Expect (or whatever is equivalent on windows) to look for (and answer) the username and password prompts - as well as anything else it might need to do once the login is done.

You can find Expect stuff here.
 
If you're going to be doing any real work download one of the many telnet clients available. PuTTY is the best, and it's free. Better still it can handle ssh as well as telnet.

Ceci n'est pas une signature
Columb Healy
 
This can also be done using Perl net-telnet. Perl also has a net-ssh module if you want to go with SSH as columb suggests.
 
You mentioned a telnet inside a script? as my fello said above you can use the command telnet but my question is what you gonna do with this? What is the script you are trying to create?

Regards,
Khalid
 
If you want to automate a telnet session from Windows, take a look at Expect for Windows (
"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top