<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/16897" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2009-05-22T07:23:43-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/16897</id>

		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2009-05-22T07:23:43-04:00</updated>

		<published>2009-05-22T07:23:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88864#p88864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88864#p88864"/>
		<title type="html"><![CDATA[[SOLVED] Telnet login command-Deliver nickname and password]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88864#p88864"><![CDATA[
Hi,<br><br>I'm connecting via putty (ssh and keyfile) to the server.<br><br>then i type the follwing command<div class="codebox"><p>Code: </p><pre><code>telnet 127.0.0.1 1234</code></pre></div>--&gt; Bot needs nickname and password<br><br>Is it possible to deliver the nickname and password in this command?<br><br>EDIT and Solved: I'm using expect on my shell.<br><br>eggdropautologin.sh<div class="codebox"><p>Code: </p><pre><code>#!/usr/bin/expect -fspawn telnet 127.0.0.1 1234expect -re "Nickname"send "tessa1\n"expect -re "Passwort"send "XXXXXXXXXXXXXXX\n"interact</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6110">tessa1</a> — Fri May 22, 2009 7:23 am</p><hr />
]]></content>
	</entry>
	</feed>
