Well, actually you CAN enable telnet and ssh. It's completely unsupported, but anyway:
- Update firmware to latest version, I used PD.02.06.stk.
- Go to Maintenance -> Backup and Update Manage, click download and select startup-config. Download that file.
- 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"
- Upload startup-config file as startup config
- Reboot switch and telnet to switch ip
- 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.