OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: SSH -HUP Signal
From: John Madden (weezAVENIR.DHS.ORG)
Date: Mon Oct 16 2000 - 13:30:37 CDT


On Mon, 16 Oct 2000, you wrote:
> This is just a quick word to the wise regarding an
> experience that I had with openssh. I was making
> some changes to my PAM configurations in
> limits.conf... after my changes were made I wanted
> to test the configuration so I did killall -HUP sshd.
> Little did I know that sshd does NOT accept the HUP
> signal!!! I had just locked myself out of my box since
> I wasn't allowing telnet!

Yeah, always start a second copy of sshd with something like

sshd -p 45 (choose your own portnum)

and ssh into the box with

ssh -p 45 userhost

...And well, I think you get the point. :)

John

--
# John Madden  weezavenir.dhs.org ICQ: 2EB9EA
# UNIX Systems Engineer, Ivy Tech State College
# Sys-Admin / Webmaster, Avenir Web: http://avenir.dhs.org
# FreeLists, Free mailing lists for all: http://www.freelists.org
# Linux, Apache, Perl and C: All the best things in life are free!