O primeiro passo é instalar o Cluster ssh tool for Terminal.app
ou csshX
:
brew install csshx
Depois, incluir o script abaixo no seu .bashrc
:
function server() {
#!/bin/sh | |
command="${*}" | |
printf "Initialized REPL for `%s`\n" "$command" | |
printf "%s> " "$command" | |
read -r input | |
while [ "$input" != "" ]; | |
do | |
eval "$command $input" | |
printf "%s> " "$command" |