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