Wired Intelligent Edge

last person joined: yesterday 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

AOS-CX: retarting the SSH process (sshd) ?

This thread has been viewed 3 times
  • 1.  AOS-CX: retarting the SSH process (sshd) ?

    Posted Jul 14, 2020 01:53 PM

    Re:  root 2117 1 0 Jun04 ? 09:15:03 python /usr/bin/hpe_sshd

     

    What is a command that will restart the SSH (sshd) process via start-shell or other "console" you are willing to share?

     

    Part of the reason I wish to restart is to eliminate what appears to be orphaned logged admins:

     

    HPE-AOSCX8320-Branch1:~$ ps -ef | grep ssh
    root                                 2117           1   0 Jun04 ? 09:36:00 python /usr/bin/hpe_sshd
    root                                 4290     2117   0 Jul14 ? 00:00:00 sshd: hpe-aoscx-admin [priv]
    hpe-aoscx-admin           4305      4290   0 Jul14 ? 00:00:03 sshd: hpe-aoscx-admin@pts/4
    root                                5557      2117    0 02:00 ? 00:00:00 sshd: hpe-aoscx-admin [priv]
    hpe-aoscx-admin           5570      5557    0 02:00 ? 00:00:00 sshd: hpe-aoscx-admin@pts/1
    hpe-aoscx-admin           5693      5616    0 02:00 pts/1 00:00:00 grep ssh
    root                              17940       2117    0 Jul14 ? 00:00:00 sshd: hpe-aoscx-admin [priv]
    hpe-aoscx-admin         17953     17940   0 Jul14 ? 00:00:02 sshd: hpe-aoscx-admin@pts/5
    root                              19948             1    0 Jun04 ? 00:00:00 /usr/sbin/sshd -o PidFile=/var/run/sshd-ns_wireless_mgmt.pid
    root                                 31641     2117   0 Jul14 ? 00:00:00 sshd: hpe-aoscx-admin [priv]
    hpe-aoscx-admin           31658    31641   0 Jul14 ? 00:00:02 sshd: hpe-aoscx-admin@pts/3



  • 2.  RE: AOS-CX: retarting the SSH process (sshd) ?

    MVP GURU
    Posted Jul 15, 2020 07:55 AM

    do you have try with service ssh(d?) restart



  • 3.  RE: AOS-CX: retarting the SSH process (sshd) ?

    Posted Jul 15, 2020 08:12 AM

    Sorry,  I am confused about your response.

     

    If you are asking, "have I tried anything to restart,"  I have not.

     

    I am remote using SSH and if I try something and that does not restart sshd, I can no longer remote access.



  • 4.  RE: AOS-CX: retarting the SSH process (sshd) ?
    Best Answer

    MVP GURU
    Posted Jul 18, 2020 04:30 AM

    Try on ArubaCX OVA/VM ?



  • 5.  RE: AOS-CX: retarting the SSH process (sshd) ?

    Posted Jul 18, 2020 04:39 AM

    Most excellent idea !!!



  • 6.  RE: AOS-CX: retarting the SSH process (sshd) ?

    MVP GURU
    Posted Jul 19, 2020 02:26 PM

    Pay attention to the difference between sshd daemon and hpe-sshd daemon...