TransWikia.com

Switches 'HPE OfficeConnect 1920S' - Enable SSH / TFTP Services

Network Engineering Asked by DevOps on December 12, 2021

We need to manage switches HPE OfficeConnect 1920S remotely but only HTTP/HTTPS Administration is available.

HPE 1920S has an special operating system, neither Procurve nor Comware. We are looking for technical documentation which describes how to enable SSH/TFTP services but we have not found anything yet.

Do you know how we could enable SSH/TFTP services in HPE 1920S switches?

4 Answers

Please note that suggested solution (inserting "ip telnet server enable" into startup-config file and then enabling ssh) works only till firmware version PD.02.06.stk (including).

When upgrading to newer firmware it seems that telnet and ssh servers have been removed and the suggested solution does not work anymore.

Answered by Reinis on December 12, 2021

Well, actually you CAN enable telnet and ssh. It's completely unsupported, but anyway:

  1. Update firmware to latest version, I used PD.02.06.stk.
  2. Go to Maintenance -> Backup and Update Manage, click download and select startup-config. Download that file.
  3. Edit startup-config file (it's a text file, use any text editor), insert "ip telnet server enable" before config statement, like this:
!Current Configuration:
!
!System Description "HPE OfficeConnect Switch 1920S 24G 2SFP PoE+ (370W) JL385A, PD.02.06, Linux 3.6.5-a07f8920, U-Boot 2012.10-00118-g3773021 (Oct 11 2016 - 15:39:54)"
!System Software Version "PD.02.06"
!System Up Time          "0 days 0 hrs 6 mins 3 secs"
!Additional Packages     HPE QOS,HPE IPv6 Management,HPE Routing
!Current SNTP Synchronized Time: SNTP Last Attempt Status Is Not Successful
!
network protocol none
network parms 10.1.1.50 255.255.255.0 10.1.1.1
vlan database
exit
ip telnet server enable
configure
sntp client mode unicast
sntp server "10.1.1.1"
  1. Upload startup-config file as startup config
  2. Reboot switch and telnet to switch ip
  3. Login and enable ssh:
enable
configure
crypto key generate rsa
crypto key generate dsa
exit
ip ssh server enable
ip ssh protocol 2
write memory confirm
quit

Here is original thread: https://community.hpe.com/t5/Web-and-Unmanaged/How-to-Enable-Telnet-and-SSH-on-HPE-1920s-OfficeConnect/td-p/6988775 , today I enabled telnet on my 1920S using this trick.

Answered by Grrruk on December 12, 2021

See the following link: https://glazenbakje.wordpress.com/2012/08/21/hp-v1910-secret-commando-list-how-to-enable-it/

Both the V1910 and the (old) 1920 have a technician's CLI, which is completely unsupported, but works good enough. Keep in mind that this is not about the 1920S. I just ordered a demo model of the 1920S and will get it on monday. Will test if the CLI is accessible then.

Answered by geeMc on December 12, 2021

18xx and 19xx are "smart-managed" or web-managed only, no telnet, no SSH. Some 1920s have a minimal serial/USB console though. The switch has TFTP and SFTP clients but no server.

I've looked into 1810 switches a while ago (how to automate config backups using curl). These SOHO switches apparently use firmware made by the chipset manufacturer that has been branded by HP. 1810v1 and 1810v2 differ significantly by site structure and backup file format, so that they're actually two different devices.

Depending on what you're trying to do, you might be able to accomplish some automated management using curl, but if you want a real console interface you'll need to replace the switch.

Answered by Zac67 on December 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP