Wired Intelligent Edge (Campus Switching and Routing)

Reply
Occasional Contributor II

ssh broken on HP J9775A 2530-48G

Hi!

 

Ssh on HP J9775A 2530-48G is broken. The switch does listen on port 22 but cannot do ssh. I disabled/enabled it again but it didnt solve the issue. I dont want to restart my switch.

 

Any tip for this?

 

Thanks

MVP Expert

Re: ssh broken on HP J9775A 2530-48G

Greetings!

 

We would need to know a few things to assist with troubleshooting:

 

  • What specific symptoms are you seeing — is the switch refusing SSH connections entirely, or are you seeing authentication failures?
  • Was SSH working at some point, and now is not?
  • Do you have a Management VLAN assigned, and is the SSH client attached to that VLAN with an IP address in the same subnet as the switch Management VLAN IP?
  • Are there any log messages on the switch ('show logging -r') or your SSH client indicating a possible cause (such as a cipher mismatch)?
  • What software version are you running on the switch in question?

One thing you can try is enabling SSH debug logging on the switch, which would capture info that could help with troubleshooting. In your serial console session, run the following commands:

 

switch# debug destination session
switch# debug security ssh verbose

Once debug logging is enabled, try to open an SSH session to the switch, and watch for any debug messages to be printed to the open console session. (If you don't see any messages in the console and debug logging is enabled, it's possible your SSH station does not have full connectivity to the switch and this would need to be investigated as a separate issue.) Once you've captured debug info, you can turn debug logging off:

 

switch# no debug destination session
switch# no debug security ssh


Matt Fern
Technical Marketing Engineer, Wired Intelligent Edge

Aruba, a Hewlett Packard Enterprise company

8000 FOOTHILLS BLVD  |  ROSEVILLE, CA 95747
T: 916.540.1759  |  E: mfern@hpe.com   |   Matt @ Twitter
Occasional Contributor II

Re: ssh broken on HP J9775A 2530-48G

Hi!

 

The switch is on remote site so I will try again via console cable.

As I recall well it was refusing connection.

Yes it was working. 

IP address is assigned on interface vlan 10.

There was not log showing up in recent logs related to ssh.

I have similar switch so pretty sure they have the same version.

Primary Image : 13277269 08/29/16 YA.16.02.0012

 

Will these debug commands impact the cpu when I enable them?

MVP Expert

Re: ssh broken on HP J9775A 2530-48G

If only SSH debugging is enabled, I would not expect any significant CPU utilization.



Matt Fern
Technical Marketing Engineer, Wired Intelligent Edge

Aruba, a Hewlett Packard Enterprise company

8000 FOOTHILLS BLVD  |  ROSEVILLE, CA 95747
T: 916.540.1759  |  E: mfern@hpe.com   |   Matt @ Twitter
Highlighted
Occasional Contributor II

Re: ssh broken on HP J9775A 2530-48G

ok Thanks I will check that and get back to you.

Occasional Contributor II

Re: ssh broken on HP J9775A 2530-48G

I dont see anything in the debug

ssh: Ssh server enabled

ssh: New 2048-bit RSA SSH host key installed.

 

When I do ssh then I get "Connection was reset."

 

Super Contributor II

Re: ssh broken on HP J9775A 2530-48G

Have you tried to generate a new SSH key at the switch?

configure
crypto key generate ssh rsa

Willem Bargeman ACMX#935 | ACCX #822

Please give me kudos if my post was useful!
If your issue is solved mark the post as solution!
Occasional Contributor II

Re: ssh broken on HP J9775A 2530-48G

yes again now but same result

Super Contributor II

Re: ssh broken on HP J9775A 2530-48G

Have you tried to do a telnet at port 22?

Normally you will see a message like this
SSH-2.0-Mocana SSH 6.3

 

In the latest release for the 2530 there are some fixes related to SSH issues.

Have you tried to kill all the sessions? use the command kill for this


Willem Bargeman ACMX#935 | ACCX #822

Please give me kudos if my post was useful!
If your issue is solved mark the post as solution!
Occasional Contributor II

Re: ssh broken on HP J9775A 2530-48G

I can see blank screen but NOT this message "SSH-2.0-Mocana SSH 6.3"

 

 

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