Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sending info when establishing a telnet connection

Reply
Thread Tools Display Modes

Sending info when establishing a telnet connection

 
 
The LinuxBuff
Guest
Posts: n/a

 
      10-10-2003, 03:55 PM
I was wondering whether it would be possible to automatically send
username and password to the remote telnet daemon when establishing a
telnet connection?

Yes, I am aware that using telnet in an open network is a security
hazard, and that there are far more secure solutions out there; but that
is not the issue here. I just want to know if telnet does support such a
thing.


 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      10-10-2003, 04:32 PM
In article <(E-Mail Removed) >,
The LinuxBuff wrote:
> I was wondering whether it would be possible to automatically send
> username and password to the remote telnet daemon when establishing a


Username, yes. See "man telnet", look for "-l". Password, no, but see
expect(1). You can find sample expect scripts for telnet which will do
this.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
The LinuxBuff
Guest
Posts: n/a

 
      10-10-2003, 07:53 PM
On Fri, 10 Oct 2003 09:32:00 -0700, /dev/rob0 wrote:

> In article <(E-Mail Removed) >,
> The LinuxBuff wrote:
>> I was wondering whether it would be possible to automatically send
>> username and password to the remote telnet daemon when establishing a

>
> Username, yes. See "man telnet", look for "-l". Password, no, but see
> expect(1). You can find sample expect scripts for telnet which will do
> this.


Yep, that does the trick. Much appreciated.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Establishing a VPN connection to an MS server Clark Smith Linux Networking 1 03-15-2011 10:40 PM
Problems with establishing wireless connection and VPN connection before log on to daomain daniel@namni.se Windows Networking 1 09-13-2006 10:47 PM
sending mail through telnet to multiple address prashant Linux Networking 1 05-10-2006 06:09 PM
How do I telnet my dsl modem to get status info? SD Linux Networking 0 05-23-2004 11:41 AM
Sending mail using telnet Ravi Linux Networking 3 12-01-2003 10:39 AM



1 2 3 4 5 6 7 8 9 10 11