LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   telnet supplying arguments to telnet command (https://www.linuxquestions.org/questions/linux-networking-3/telnet-supplying-arguments-to-telnet-command-547996/)

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
like

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 12:47 AM.