When trying to disconnect an idle session I get
sw005> (enable) disconnect 7
SSH session from 192.168.xxx.xxx is executing a command.Retry later
If I retry later I get the same message.
Is it possible to kill the associated sshd process?
sw005> (enable) show proc cpu | i PID|ssh
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
26 21778 21374 2000 0.00% 0.00% 0.00% -2 sshd
27 3337524 1602351 29000 0.00% 0.00% 0.00% -2 ssh_key
28 2891717 1900361663 3000 0.02% 0.00% 0.00% -2 ssh_flush
177 5991 745 94000 0.00% 0.00% 0.00% 907264788 ssh177
183 977041 629 98000 0.00% 0.00% 0.00% 924183316 ssh183
185 2037349 614 98000 0.00% 0.00% 0.00% 913642516 ssh185
Bonus question: what is the relationship between the session Id and the
TTY number?
TIA, Arnold
--
Arnold Nipper, AN45
|
|
0
|
|
|
|
Reply
|
Arnold
|
1/12/2005 5:33:05 PM |
|