Wired Intelligent Edge (Campus Switching and Routing)

This community is currently in a read-only state due to a maintenance window. For more info click here
Reply
Highlighted

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

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


../smb/air

Accepted Solutions
MVP Guru Elite

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

Try on ArubaCX OVA/VM ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP

View solution in original post


All Replies
Highlighted
MVP Guru Elite

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

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



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted

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

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.


../smb/air
MVP Guru Elite

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

Try on ArubaCX OVA/VM ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP

View solution in original post

Highlighted

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

Most excellent idea !!!


../smb/air
Highlighted
MVP Guru

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

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

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: