Wired Intelligent Edge

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

ssh from hp switch to other host or switch

This thread has been viewed 35 times
  • 1.  ssh from hp switch to other host or switch

    Posted May 21, 2023 10:24 AM

    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



  • 2.  RE: ssh from hp switch to other host or switch

    EMPLOYEE
    Posted May 21, 2023 06:36 PM

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



  • 3.  RE: ssh from hp switch to other host or switch

    Posted May 22, 2023 02:41 PM

    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.  




  • 4.  RE: ssh from hp switch to other host or switch

    EMPLOYEE
    Posted May 26, 2023 10:48 AM

    For ArubaOS-Switch the command is ssh user <username> <host>. Example:

    sw00# ssh user herman 192.168.32.20
    Attempting 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.
    ------------------------------



  • 5.  RE: ssh from hp switch to other host or switch

    Posted May 28, 2023 07:02 PM
      |   view attached

    it not work on the 3810M 




  • 6.  RE: ssh from hp switch to other host or switch

    EMPLOYEE
    Posted Jun 14, 2023 09:21 AM

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



  • 7.  RE: ssh from hp switch to other host or switch

    Posted Jun 15, 2023 10:24 AM

    Thank you for response after reboot couple switch now I try and got this error

    The SSH connection failed: unexpected error.