Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

VTY "ghost sessions"

I've been trying to clear the following lines but no way, we've two "ghost sessions" on the router.

Router#sh use

Line User Host(s) Idle Location

2 vty 0 idle never

3 vty 1 idle never

Any idea about wha't going on?

thx in advance


Re: VTY "ghost sessions"

Try issueing the command: sh user

This will display which ip is on the other side. This information could be quite helpfull when you don't know what is going on.

Could be anything, my best guess is a mgmt app.



Re: VTY "ghost sessions"

Ok, sorry. You just did that.

Could you also post the output from the clear line command which you say does not work?

New Member

Re: VTY "ghost sessions"

OK ;)

The output when I try to clean the session don't say anything, I type "clear line 2" and the behaviour looks good, but after typing again the "sh use" command the sessions are taking up again...

New Member

Re: VTY "ghost sessions"

Here is the "show user" command output at present:

Router#show users

Line User Host(s) Idle Location

2 vty 0 idle never

3 vty 1 idle never

* 4 vty 2 XEBS0002 idle 00:00:00

5 vty 3 XFLO0001 idle 00:01:29

6 vty 4 XAGB0009 00:01:27

Interface User Mode Idle Peer Address


We get information about five sessions. We can handle and clear the last three, but no way to clean the two first sessions.

Re: VTY "ghost sessions"

Does the router perhaps have a special (different) line configuration for these lines?

New Member

Re: VTY "ghost sessions"


the vty configuration chnaged, please check the configuration and vty password



New Member

Re: VTY "ghost sessions"

Here is the config. By the way, the ACL is permitting telnet and ssh from NOC's computers.

line vty 0 4

access-class 10 in

exec-timeout 30 0

password 7 password

logging synchronous

login authentication Tacacs

transport input telnet ssh

Anyway next saturday we've to reboot the router due maintenance, maybe this issue will be solved then...

CreatePlease to create content