HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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