Windows Server 2003
1821639 Members
3547 Online
109633 Solutions
New Discussion юеВ

Re: telnet batch files - using windows 2003 server

 
rcprabhu
Occasional Contributor

telnet batch files - using windows 2003 server

I need to create batch file using telnet in windows xp /2003 server to login to a unix server. Problem how to enter user id and password in the batch file towards telent command.
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: telnet batch files - using windows 2003 server

hi,

you could look as reference to this link from ITRC :

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1232593

mikap
Andras Ordogh
Valued Contributor

Re: telnet batch files - using windows 2003 server

hello rcprabhu,

first of all, you have to use ssh, is more secure then telnet (telnet send password as clear text)

if you choose telnet or ssh, you may use teraterm client. you can easily write macro/script with teraterm

andras
Alan_152
Honored Contributor

Re: telnet batch files - using windows 2003 server

You can write up an script using expect for windows. http://docs.activestate.com/activetcl/8.5/expect4win/