Created
September 25, 2018 14:28
-
-
Save eoldavix/22845ee276fc962588241eaf9ea6edd4 to your computer and use it in GitHub Desktop.
Enable ILO management from external network
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
| # Enable ILO management from external network | |
| PORTS="22 443 80 623 17990 17988" | |
| IPILO=192.168.1.x | |
| SSHUSER=root | |
| EXTERNALURL=domain.tld | |
| SSHOPTS="" ; for i in ${PORTS} ; do SSHOPTS="$SSHOPTS -L ${i}:${IPILO}:${i}" ; done ; ssh -C ${SSHOPTS} ${SSHUSER}@${EXTERNALURL} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment