-   Linux - Networking (
-   -   telnet supplying arguments to telnet command (

nasirdaudahmad 04-22-2007 02:56 AM

telnet supplying arguments to telnet command
how can i supply username and password arguments to telnet command in one line

telnet username password

anotherlinuxuser 04-22-2007 03:07 AM

Telnet does not support passing either username or passwords. You must use ssh instead.

acid_kewpie 04-22-2007 03:12 AM

not true actually, you can pipe commands into it, or as an alternative approach you can use expect to automate a session. similarily you can't supply commandline passwords in ssh either. ssh is certainly preferable to telnet any day though.

All times are GMT -5. The time now is 11:42 AM.