Skip to content

Instantly share code, notes, and snippets.

@iarp
Last active May 18, 2022 00:03

Revisions

  1. iarp revised this gist May 18, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions idrac6-virtual-console.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    #!/bin/bash

    # {JRE_HOME}\lib\security\java.security and remove RC4 from jdk.tls.disabledAlgorithms

    echo -n 'Host: '
    read drachost
    echo $drachost
  2. iarp created this gist Mar 29, 2022.
    25 changes: 25 additions & 0 deletions idrac6-virtual-console.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    #!/bin/bash

    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"