Last active
May 18, 2022 00:03
-
-
Save iarp/a6746ee0b7ec62ab8b31cb41c46d11b4 to your computer and use it in GitHub Desktop.
Connect to idrac6 virtual console in linux mint 20.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# {JRE_HOME}\lib\security\java.security and remove RC4 from jdk.tls.disabledAlgorithms | |
echo -n 'Host: ' | |
read drachost | |
echo $drachost | |
echo -n 'Username: ' | |
read dracuser | |
echo $dracuser | |
echo -n 'Password: ' | |
read -s dracpwd | |
echo | |
wget --cipher 'DEFAULT:!DH' https://${drachost}/software/avctKVM.jar --no-check-certificate | |
file1="https://${drachost}:443/software/avctKVMIOLinux64.jar" | |
file2="https://${drachost}:443/software/avctVMLinux64.jar" | |
mkdir -p `pwd`/lib/; | |
wget --cipher 'DEFAULT:!DH' -O `pwd`/lib/`basename ${file1}` ${file1} --no-check-certificate | |
wget --cipher 'DEFAULT:!DH' -O `pwd`/lib/`basename ${file2}` ${file2} --no-check-certificate | |
`which 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment