Hast du das mit sshpass (wie von mir beschrieben) schon probiert?