Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: log xterm telnet session, how ?< Next Oldest | Next Newest >
green Offline





Group: Members
Posts: 453
Joined: Oct. 2004
Posted: Dec. 08 2004,04:03 QUOTE

When I telnet to a device, I want the session logged or not logged at will, and stored in a text file at a location of my choice.

Can someone tell me how I can accomplish this?

Real world example:
Telnet to a router, switch, or firewall
before perfoming any changes to the configuration, I save the current configuration by typing 'sh run' or 'sh config' , etc. and the response from the device is saved to a text file.
Perform configuration changes, etc.
Save final configuration to a text file using the previous method.

Want to do this when using DSL......
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Dec. 08 2004,06:16 QUOTE

try typing "telnet --help | less"  to scroll through all the info.

hit "q" when you're done in less.

it tells you how to do this there, but i can't remember exactly what it is off the top of my head.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
1 replies since Dec. 08 2004,04:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: log xterm telnet session

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code