HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

Connect HP 2920-24G through shell script

 
MariusGrill
Occasional Visitor

Connect HP 2920-24G through shell script

Hello guys,

I am trying to connect to a HP 2920-24G switch via shell scrip.

My problem is that after the establishment of the ssh tunnel the switch demands a keystroke. I have no clue how to deal with that problem. I simply tried something like:

#!/bin/bash
ssh 192.168.0.12c
configure
....

I hope you can help me.

Thanks a lot

Marius Grill