Re: autoconnect to telnet server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 09 July 2007 17:31:00 Guillaume wrote:
> Hi,
> I would like to use the telnet client via with cron & script to
> execute special command on a telnet server.
> On telnet manual i saw the -l option used to specify the user. But i
> dont find any way to give the password (of course in clear text, i
> dont speak here about security).
> I try several commands like
> ] telnet -l $user host <passwdor
> ] echo password | telnet -l $user host
> ]cat passwordfile | telnet -l $user host
> None of this works. Does someone can help me ?
> Thanks.
>
> --
> Gui

What about using expect?

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux