#!/bin/bash exec \ deep-ssh \ "$1" \ '(echo export PS1=\"\\[\`tput smso\`\\]\\h-\\u:\\w \$MACHTYPE \$PPID - above cmd done \\D{%Y} \\d \\@\[\`tput rmso\`\\]\\n\\n\\$ \"; echo "set -o vi") > \$HOME/drs-bashrc; chmod 755 \$HOME/drs-bashrc; bash --rcfile \$HOME/drs-bashrc < /dev/tty > /dev/tty 2>&1' --ssh-options -t