Jump to content
 English      
???en.wpa.text.hpweb2003.home??? ???en.wpa.text.hpweb2003.prodserv??? ???en.wpa.text.hpweb2003.support??? ???en.wpa.text.hpweb2003.solutions??? ???en.wpa.text.hpweb2003.buy???
» ???en.wpa.text.hpweb2003.contact???
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > system administration

How to restart (stop and stop) the SSH in HP-UX - This thread has been closed

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: How to restart (stop and stop) the SSH in HP-UX      Add to my favorites  This thread has been closed
senthil_kumar
Nov 4, 2009 17:11:07 GMT   

Hi All,

I am using HP-UX 11i V3, in that i want to restart the SSH.
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Pete Randall This member has accumulated 40000 or more points
Nov 4, 2009 17:16:23 GMT  10 pts

There should be a /sbin/init.d script for it. For me it would be "/sbin/init.d/secsh stop" and "/sbin/init.d/secsh start" but that's a Porting Center version on 11.11. Take a close look at /sbin/init.d and see what might fit.


Pete
Vishu This member has accumulated 250 or more points
Nov 4, 2009 17:32:42 GMT  10 pts

To restart SSH, look for the script in /sbin/init.d directory. normally it is

/sbin/init.d/secsh stop
/sbin/init.d/secsh start
unix_shell Expert in this area This member has accumulated 2500 or more points
Nov 5, 2009 03:16:03 GMT  9 pts

yeah, all are right. /sbin/init.d/secsh is for ssh service.
Raj D. This member has accumulated 7500 or more points
Nov 5, 2009 03:36:25 GMT  10 pts

Senthil,

# cd /sbin/init.d ; ./secsh stop
# cd /sbin/init.d ; ./secsh start



Also check this :

http://www.cyberciti.biz/faq/howto-hpux-sshd-service-startup-shutdown/

Hth,
Raj.
Farhan A Azam Expert in this area This member has accumulated 500 or more points
Nov 5, 2009 04:19:23 GMT  10 pts

hi Sentil,

To stop ssh
# /sbin/init.d/secsh stop

To start ssh
# /sbin/init.d/secsh start
Steven Schweda This member has accumulated 7500 or more points
Nov 5, 2009 04:57:54 GMT  10 pts

I know nothing, but I believe that I read
somewhere that commands like these might do
something:

"/sbin/init.d/secsh stop"
"/sbin/init.d/secsh start"

/sbin/init.d/secsh stop
/sbin/init.d/secsh start

# cd /sbin/init.d ; ./secsh stop
# cd /sbin/init.d ; ./secsh start

# /sbin/init.d/secsh stop
# /sbin/init.d/secsh start


(At least one set of them _looks_ a little
different.)
senthil_kumar
Nov 5, 2009 11:54:12 GMT   Thread closed by author  

I am closing this thread
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.