Below you can see the syntax for the SSH command:
3810M(config)# ssh
HOST-NAME-STR Hostname of the remote system.
IP-ADDR IPv4 address of the remote system.
IPV6-ADDR IPv6 address of the remote system.
user Specify the username on the remote system.
USERNAME@IP-STR Specify the username along with the remote system
information (hostname, IPv4 or IPv6 address).
3810M(config)# ssh 10.10.1.40
The authenticity of host '10.10.1.40' cannot be established.
RSA key fingerprint is ---------------------------------------.
Do you want to accept this host key? [(y)es/(n)o/(o)nce] y
Both command examples given in previous replies are correct and you can use them, but the problem is not the command syntax. It lies elsewhere.
By 5400 switch do you mean 5406/5412zl switch? If so do you have a recent software version on the switch?
5400zl switches are old devices and maybe the two switches can't negotiate a key exchange method and that's why you get this "Unexpected error".
Also are you able to initiate an SSH connection to this 5400 switch using putty or teraterm on your PC?
------------------------------
Toni
------------------------------
Original Message:
Sent: May 28, 2023 07:02 PM
From: longlanh
Subject: ssh from hp switch to other host or switch
it not work on the 3810M
Original Message:
Sent: May 26, 2023 10:48 AM
From: Herman Robers
Subject: ssh from hp switch to other host or switch
For ArubaOS-Switch the command is ssh user <username> <host>. Example:
sw00# ssh user herman 192.168.32.20Attempting username/password authentication...Enter herman@192.168.32.20's password: ********
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
Original Message:
Sent: May 22, 2023 02:41 PM
From: longlanh
Subject: ssh from hp switch to other host or switch
this is exactly what i did ssh adin@ip address the error is the ssh connection failed: unexpected error, this on the switch 3810M and 5400 model.
Original Message:
Sent: May 21, 2023 06:36 PM
From: Ariya Parsamanesh
Subject: ssh from hp switch to other host or switch
Here you can find the CLI command or it
------------------------------
If my post was useful accept solution and/or give kudos.
Any opinions expressed here are solely my own and not necessarily that of HPE or Aruba.
Original Message:
Sent: May 21, 2023 10:23 AM
From: longlanh
Subject: ssh from hp switch to other host or switch
anyone know how to setup on Aruba switch to allow ssh from one switch to ther switch? on cisco it just ssh x.x.x.x. please assist. thx