rootfs/home/andre/.bashrc aktualisiert
This commit is contained in:
@@ -90,10 +90,15 @@ cy-ssh() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
CYBERARK_USER="ageissler@ageissler@${HOST}"
|
CYBERARK_USER="ageissler@ageissler@${HOST}"
|
||||||
CYBERARK_AUTH_OPTS="-o PreferredAuthentications=publickey,keyboard-interactive,password"
|
CYBERARK_AUTH_OPTS="-o PreferredAuthentications=publickey,keyboard-interactive,password"
|
||||||
SSH_USER="$CYBERARK_USER"
|
|
||||||
SSH_AUTH_OPTS="$CYBERARK_AUTH_OPTS"
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Host conlx*
|
||||||
|
###############################################################################
|
||||||
|
if [[ "$HOST" == conlx* ]]; then
|
||||||
|
CYBERARK_USER="ageissler@root@${HOST}"
|
||||||
|
fi
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Host switch-catalyst-* switch-nexus-* switch-fibre-* router-*
|
# Host switch-catalyst-* switch-nexus-* switch-fibre-* router-*
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -119,6 +124,9 @@ cy-ssh() {
|
|||||||
SSH_HOSTNAME="admin"
|
SSH_HOSTNAME="admin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SSH_USER="$CYBERARK_USER"
|
||||||
|
SSH_AUTH_OPTS="$CYBERARK_AUTH_OPTS"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# SSH-Command bauen
|
# SSH-Command bauen
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user