1 2 3 4 5 6
#!/usr/bin/env bash args="" if [ -n "$1" ]; then args="$(printf " %q" "${@}")" fi TERM=xterm-256color ssh -i ~/.ssh/macos mike@192.168.122.75 $args