Operating System - HP-UX
1753846 Members
8422 Online
108807 Solutions
New Discussion

Re: ssh restart interupt the terminal or not

 
rajesh73
Super Advisor

ssh restart interupt the terminal or not

i need direct root login access

 

i just change  /opt/ssh/etc/sshd_config  ---file

 

after change this file it is require to restart

 

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

 

Question - my doubt during the restart putty terminal disconnect for connected users or not.  because more users are connected in the server

2 REPLIES 2
Bill Hassell
Honored Contributor

Re: ssh restart interupt the terminal or not

The existing sessions will not be affected. Each ssh connection begins from sshd, but if the the top level sshd program is restarted, the existing sessions are transferred to the init process (PID = 1) with no interruption.



Bill Hassell, sysadmin
rajesh73
Super Advisor

Re: ssh restart interupt the terminal or not

today i planned to install the secure sheell

 

present server output

**********************

 

$ /usr/sbin/swlist |grep -i secureshell
  SecureShell                           A.05.90.003    HP-UX Secure Shell

 

 

we downloaded below latest secure sheell depot file   --------------HP-UX_11i_v3_SecureShell_A.06.20.006_HP-UX_B.11.31_IA_PA.depot

 

please find the below installation procedure, any change let me know

 

1.swinstall -s /tmp/HP-UX_11i_v3_SecureShell_A.06.20.006_HP-UX_B.11.31_IA_PA.depot

 

2.following command to verify if sshd is running on your system:

    PS -ef | grep sshd

 

question - the above installation aftect any services, before that installation need to take any config backup for /opt/ssh/etc/sshd_config