how to check if sshd update was succesful?
Hi, i updated the sshd on a SuSE 7.2 i386 Machine by installing openssh-2.9.9p2-103.i386.rpm and restarting sshd with echo "rcsshd stop; rcsshd start"|at now + 3 minutes as discribed in SuSE-SA:2002:024. Now i'd like to verify that i got the 'patched version' of sshd running. How can i do that? Thanks, dominik
Hi! On Sun, 14 Jul 2002, Dominik Schwald wrote:
i updated the sshd on a SuSE 7.2 i386 Machine by installing openssh-2.9.9p2-103.i386.rpm and restarting sshd with
echo "rcsshd stop; rcsshd start"|at now + 3 minutes
as discribed in SuSE-SA:2002:024. Now i'd like to verify that i got the 'patched version' of sshd running. How can i do that?
Try something like lsof | grep deleted Deleted files that are still in use will show up like this: ssh-agent 884 mk txt REG 3,7 485464 66421 /usr/bin/ssh-agent-RPMDELETE (deleted) (Ooops - I just noticed I've still got an old copy of ssh-agent running...:-)) Cheers, Martin
I have exactly the same SuSE version and I also updated ssh. I checked the version with "rpm -q openssh". Greetings, Richard -----Ursprüngliche Nachricht----- Von: Martin Köhling [mailto:mk@lw1.cc-computer.de] Gesendet: Montag, 15. Juli 2002 11:00 An: suse-security@suse.com Betreff: Re: [suse-security] how to check if sshd update was succesful? Hi! On Sun, 14 Jul 2002, Dominik Schwald wrote:
i updated the sshd on a SuSE 7.2 i386 Machine by installing openssh-2.9.9p2-103.i386.rpm and restarting sshd with
echo "rcsshd stop; rcsshd start"|at now + 3 minutes
as discribed in SuSE-SA:2002:024. Now i'd like to verify that i got the 'patched version' of sshd running. How can i do that?
Try something like lsof | grep deleted Deleted files that are still in use will show up like this: ssh-agent 884 mk txt REG 3,7 485464 66421 /usr/bin/ssh-agent-RPMDELETE (deleted) (Ooops - I just noticed I've still got an old copy of ssh-agent running...:-)) Cheers, Martin -- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
Hi! On Mon, 15 Jul 2002, Richard Brenner wrote:
I have exactly the same SuSE version and I also updated ssh. I checked the version with "rpm -q openssh".
But this only tells you that the new ssh version was *installed*, not that it is really *running* - if shutting down the old version failed for whatever reason, the new daemon can't bind to the ssh port and simply exits... (This should be reflected in the syslog, thogh.) Cheers, Martin
Martin Köhling wrote:
Hi!
On Mon, 15 Jul 2002, Richard Brenner wrote:
I have exactly the same SuSE version and I also updated ssh. I checked the version with "rpm -q openssh".
But this only tells you that the new ssh version was *installed*, not that it is really *running* - if shutting down the old version failed for whatever reason, the new daemon can't bind to the ssh port and simply exits... (This should be reflected in the syslog, thogh.)
Thanks everyone for the quick answers. best regards, dominik
telnet localhost 22 will give you the version you're currently running On Monday 15 July 2002 05:32, Dominik Schwald wrote:
Martin KЖhling wrote:
Hi!
On Mon, 15 Jul 2002, Richard Brenner wrote:
I have exactly the same SuSE version and I also updated ssh. I checked the version with "rpm -q openssh".
But this only tells you that the new ssh version was *installed*, not that it is really *running* - if shutting down the old version failed for whatever reason, the new daemon can't bind to the ssh port and simply exits... (This should be reflected in the syslog, thogh.)
Thanks everyone for the quick answers.
best regards, dominik
-- Alex Levit Senior Network Engineer Kel-Tek Inc. TEL: 626-571-6927 FAX: 626-571-8794 'Alex@kel-tek.com'
participants (4)
-
Alex Levit
-
Dominik Schwald
-
Martin Köhling
-
Richard Brenner