telnet (with userId/password as parameters) ??
Posted on 2004-11-18
I've seen much discussion on this. All I want to do is have the CONVENIENCE of openning a telnet session from
dos to unix and pass the user id and password (so that I'm not prompted each and every time).
Here is the help for my particular dos telnet. It seems there's not an easy way, but I hope there is.
telnet [-a][-e escape char][-f log file][-l user][-t term][host [port]]
-a Attempt automatic logon. Same as -l option except uses
the currently logged on user's name.
-e Escape character to enter telnet client prompt.
-f File name for client side logging
-l Specifies the user name to log in with on the remote system.
Requires that the remote system support the TELNET ENVIRON option.
-t Specifies terminal type.
Supported term types are vt100, vt52, ansi and vtnt only.
host Specifies the hostname or IP address of the remote computer
to connect to.
port Specifies a port number or service name.