Operating System - OpenVMS
1827979 Members
2523 Online
109973 Solutions
New Discussion

passing telnet a logon string

 
Ross Hansen
Occasional Advisor

passing telnet a logon string

I need to initiate a telnet login and pass the login name ( no password ) to the host automatically. Is there an option in telnet I can use or a a scripting method I can use to do this?
5 REPLIES 5
Antoniov.
Honored Contributor

Re: passing telnet a logon string

Hi Ross,
you could specify the client.
If you use VMS you can't pass username; you can only pass the host address.
If you use pathwork on PC you cannot yet pass user username but you can write a little script to make this.
Post client info.

Bye
Antoniov
Antonio Maria Vigliotti
Ross Hansen
Occasional Advisor

Re: passing telnet a logon string

more specifically =>

I have a linux web server that I cron for mail headers containing a certain string. If found the linux box needs to trigger a pager to go off which is controlled by a 3000 box.
The trigger for the 3000 box is to recieve a login string (hello blah.blah). then I'm done.

Not sure what is meant above by VMS - is that virtual mgmt service.
John Gillings
Honored Contributor

Re: passing telnet a logon string

Ross,

If you use RSH instead of TELNET, you can pass username & password, or you can use a proxy for authentication. From the perspective of the target process there's not a lot of difference.

If you're running TCPIP V5.4, you could use SSH.

A crucible of informative mistakes
John Gillings
Honored Contributor

Re: passing telnet a logon string

Ross,
Sorry, I meant RLOGIN instead of TELNET. Though, by the sound of it, in this case RSH might work too.
A crucible of informative mistakes
Martin P.J. Zinser
Honored Contributor

Re: passing telnet a logon string

Hello Ross,

you asked the same question in the Linux forum (which I think really is the better place to ask ;-), so we know one end of your problem.

Exactly what type of system to you try to connect to, an old DEC 3000 series system running OpenVMS or an old hp 3000 system running MPE (not to mention Tru64 or WindowsNT)?

Greetings, Martin