System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart (stop and stop) the SSH in HP-UX

SOLVED
Go to solution
senthil_kumar_2
Regular Advisor

How to restart (stop and stop) the SSH in HP-UX

Hi All,

I am using HP-UX 11i V3, in that i want to restart the SSH.
7 REPLIES
Pete Randall
Outstanding Contributor
Solution

Re: How to restart (stop and stop) the SSH in HP-UX

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

Pete
Vishu
Trusted Contributor

Re: How to restart (stop and stop) the SSH in HP-UX

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
Jeeshan
Honored Contributor

Re: How to restart (stop and stop) the SSH in HP-UX

yeah, all are right. /sbin/init.d/secsh is for ssh service.
a warrior never quits
Raj D.
Honored Contributor

Re: How to restart (stop and stop) the SSH in HP-UX

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.
" If u think u can , If u think u cannot , - You are always Right . "
Md. Farhan A Azam
Trusted Contributor

Re: How to restart (stop and stop) the SSH in HP-UX

hi Sentil,

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

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

Steven Schweda
Honored Contributor

Re: How to restart (stop and stop) the SSH in HP-UX

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_2
Regular Advisor

Re: How to restart (stop and stop) the SSH in HP-UX

I am closing this thread