iDRAC6_JKVM/MacOS/connect_idrac_kvm.sh
Kyle Hagerty 1b4c15afd3 fix typos
2020-03-16 14:23:13 -05:00

19 lines
532 B
Bash

#!/bin/bash
echo -n 'Host: '
read drachost
echo -n 'Username: '
read dracuser
echo -n 'Password: '
read -s dracpwd
echo
echo 'Downloading avctKVM.jar from host'
curl --no-check-certificate "https://$drachost/software/avctKVM.jar" > avctKVM.jar
echo 'Executing JKVM Client...'
./jre/bin/java -cp avctKVM.jar -Djava.library.path=./lib com.avocent.idrac.kvm.Main ip=$drachost kmport=5900 vport=5900 user=$dracuser passwd=$dracpwd apcp=1 version=2 vmprivilege=true "helpurl=https://$drachost:443/help/contents.html"
rm avctKVM.jar