System thinks I'm still logged in via ssh

Hi

Some time ago I logged in from my laptop to my stationary via ssh.
During this I had to hard reboot the stationary because of a total
freeze of the system. Ever since the stationary system believes that
there still is a live ssh session from the laptop. This shows every time
I shuts down the stationary and a indicates with a note asking if I want
to kill the, ssh, session. Every time I press ok and still the next time
I have to answer the same question again.

How can I get rid of the stale session? I have logged in (and loogged
out) via ssh several times from the laptop after the freeze.

I’m on openSUSE 11.1.

/Anders


falolaf

falolaf’s Profile: http://forums.opensuse.org/member.php?userid=501
View this thread: http://forums.opensuse.org/showthread.php?t=407102

falolaf;1940049 Wrote:
> Hi
>
> Some time ago I logged in from my laptop to my stationary via ssh.
> During this I had to hard reboot the stationary because of a total
> freeze of the system. Ever since the stationary system believes that
> there still is a live ssh session from the laptop. This shows every time
> I shuts down the stationary and a indicates with a note asking if I want
> to kill the, ssh, session. Every time I press ok and still the next time
> I have to answer the same question again.
>
> How can I get rid of the stale session? I have logged in (and loogged
> out) via ssh several times from the laptop after the freeze.
>
> I’m on openSUSE 11.1.
>
> /Anders
Look with

Code:

ps -ef | grep ssh

if there is a process that could be involved with that session and kill
it.

Hope this helps.


Henk van Velden

hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=407102

hcvv;1940176 Wrote:
> Look with
> >
Code:

> > ps -ef | grep ssh

> >
> if there is a process that could be involved with that session and
> kill it.
>
> Hope this helps.

So you say that the process can percist a reboot or even a shutdown?

If I was unclear before: Every time I shutdown my computer I have to
force logout of a ssh session that really isn’t there anymore. I answer
ok on the question and the computer is turned off. Next time the
computer is on and I want to shutdown: same story again.

/Anders


falolaf

falolaf’s Profile: http://forums.opensuse.org/member.php?userid=501
View this thread: http://forums.opensuse.org/showthread.php?t=407102