I'm currently writing script from NT. I want to telnet to unix and logon. My script
host telnet (hostname)
It does not logon automatically. I'm not familiar with Unix. Can anyone letting me
know what command should I input in my script in order to logon automatically.
You cannot write a script to pass username and password to a Unix machine as parameters from NT only parameter you can pass will be the hostname
Always try to use the ssh (secured shell) to connect to your remote unix server, as it is allways possible to compromise your username and password on the network when you use the telnet.
If you are to use the ssh2 , then it would be
ssh email@example.com -p 2222
Life is a journey, not a destination!
Click Here to Expand Forum to Full Width