- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sshd reread
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 08:47 AM
тАО06-24-2009 08:47 AM
Hi gurus,
how to reread sshd process.Actually i dont want to stop the sshd by using /sbin/init.d/secsh start/stop.
If i use below command, any problem to existing ssh connections.
kill -SIGHUP `cat /var/run/sshd.pid`
please help on this...bit urgent
regards,
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 09:03 AM
тАО06-24-2009 09:03 AM
Re: sshd reread
The only way to do this is a start/stop
If its fast, existing connections will stay online and be serviced.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 09:04 AM
тАО06-24-2009 09:04 AM
Re: sshd reread
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1349153
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 09:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 03:36 PM
тАО06-24-2009 03:36 PM
Re: sshd reread
/sbin/init.d/secsh start
anything else is a crapshoot at best
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 05:07 PM
тАО06-24-2009 05:07 PM
Re: sshd reread
Yeah. I'm sure that all that junk in the
manual like:
[...] sshd rereads its configuration
file when it receives a hangup signal,
SIGHUP, by executing itself with the
name and options it was started with,
e.g. /usr/sbin/sshd. [...]
was put there to lead the gamblers astray.
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 10:12 PM
тАО06-24-2009 10:12 PM
Re: sshd reread
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 11:23 PM
тАО06-24-2009 11:23 PM
Re: sshd reread
> my personal experience.
And I have more confidence in my experience
than I have in yours.
> [...] you do as you please.
Thanks for your permission, Mr. Burlap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 10:37 AM
тАО06-25-2009 10:37 AM
Re: sshd reread
thanks for ur replies
i have used kill -SIGHUP `cat /var/run/sshd.pid` to reread. /var/run/sshd.pid file contains process id of parent ssh process.
it rereads sshd,so existing connections (child)
remains not killed.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 07:21 PM
тАО06-25-2009 07:21 PM
Re: sshd reread
UNIX because I majored in cryptology...