Aruba & ProVision-based
1752746 Members
4838 Online
108789 Solutions
New Discussion

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