Added argument check
Added argument to set port, otherwise default to 22, and changed $1 to $HOST
Added -P $PORT to scp commands, and -p $PORT to ssh commands
Added -t to ssh commands to force pseudo-tty in case sudoers does not have NOPASSWD set