This commit is contained in:
Jakobus Schürz 2020-01-15 02:10:02 +01:00
parent 42730132f0
commit a4a92991b6

View file

@ -223,7 +223,7 @@ sshmyshellconfig() {
CMD=""
else
local SSH="/usr/bin/ssh"
[ -e ${MYSHELLCONFIG_BASE}/bashrc_add ] && $SSH -T -o VisualHostKey=no $@ "mkdir -p ~/\$(dirname \$MYSHELLCONFIG_BASE_PARENT); cat > ~/bashrc_add" < "${MYSHELLCONFIG_BASE}/bashrc_add"
[ -e ${MYSHELLCONFIG_BASE}/bashrc_add ] && $SSH -T -o VisualHostKey=no $@ "mkdir -p ~/\$MYSHELLCONFIG_BASE_PARENT; cat > ~/bashrc_add" < "${MYSHELLCONFIG_BASE}/bashrc_add"
local CMD="$SSH -T $@"
fi
$CMD /bin/bash << EOF