1ssh -tt "$username@$hostname" echo "$password" \| sudo -S -- command
1ssh -tt "$username@$hostname" cat <<END \| sudo -S -- command