Telnet Sessions

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
Bred85
New Member
Posts: 10
Joined: Wed Jul 11, 2007 10:51 am

Telnet Sessions

Post by Bred85 »

I have logged into one of the switches (call it S1) at work via telnet. From that switch I then logged into a second switch (S2). I telnetted into both these switches.

I then forgot to log off properly. Now ehen I telnet into S2 i can see 2 telnet sessions for myself. I wish to end the first session i started. The session is now over 1 day old so it looks like the timeout logoff has not worked (maybe because i went through s1 to get to S2?) My question is thus.....

How can I end the first session?

The output for "show users" is below;

Line User Hosts Idle Location
0 con 0 0
1 vty 0 frank idle 1d01h
2vty 1 frank idle 0

It is 1 vty 0 I wish to end.

regards

bred85
ringfinger

Post by ringfinger »

issue the following command

clear line vty 1 [enter]
clear line vty 2 [enter]
Bred85
New Member
Posts: 10
Joined: Wed Jul 11, 2007 10:51 am

Post by Bred85 »

cheers, worked a treat. I was trying the disconnect commands. :o
Post Reply