[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Library Cisco Connection
[Thread Prev] | [Thread Next]
- Subject: Fwd: Library Cisco Connection
- From: yehuda finkelstein <yehudafin@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 16 Aug 2012 08:53:34 +0300
- To: libssh@xxxxxxxxxx
---------- Forwarded message ---------- From: yehuda finkelstein <yehudafin@xxxxxxxxx> Date: Wed, Aug 15, 2012 at 12:00 AM Subject: Re: Library Cisco Connection To: Harley Burton <hburton@xxxxxxxxxxxxxxx> Hi again, Thanks for the fast return. I want to open ssh connection to cisco router, and configure the router via commands, which supposed to be sent via the connection I opened. I want that the interaction will be in interactive mode, which means, that I will send a command and will read the meassage, then send another command, without closing the session after the first time. Now, i hope you inderstand better my first mail. When I wrote section 3 I meant to the next one (chapter 3): http://api.libssh.org/master/libssh_tutorial.html Thanks, Yehuda On Tue, Aug 14, 2012 at 5:41 PM, Harley Burton <hburton@xxxxxxxxxxxxxxx>wrote: > Yehuda,**** > > I’m sorry, but I’m not sure what it is you are trying to accomplish. Can > you be more specific as to what you are attempting to do? Can you also > explain where you are getting this information please? Could you send a > link to what you are referring to as “section 3 on your home site?”**** > > ** ** > > Thank you,**** > > Harley Burton**** > > Network Administrator**** > > Dalton State College**** > > 650 College Drive, Dalton GA 30740**** > > 706-272-2611**** > > ** ** > > On Tue, Aug 14, 2012 at 4:27 PM, yehuda finkelstein <yehudafin@xxxxxxxxx> > wrote:**** > > Hi,**** > > ** ** > > I'm using your library for connecting to cisco router.**** > > ** ** > > When I'm using the simple mode (only one command) everything works well.** > ** > > ** ** > > But, when I'm using the shell/interactive mode, as mention in section 3 on > your home site,**** > > It doesn't work.**** > > ** ** > > I'm doing ssh_connect_write() but when I'm doing ssh_connect_read() > afterwards I don't see the expected output I waited for ( like i saw when > used with ssh_connect_exec() ).**** > > ** ** > > Thanks in Advance,**** > > Yehuda**** > > ** ** >
Re: Fwd: Library Cisco Connection | Andreas Schneider <asn@xxxxxxxxxxxxxx> |