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

nasirdaudahmad 04-22-2007 03: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 04:07 AM

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

acid_kewpie 04-22-2007 04: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 09:41 PM.