--- rsync-3.5.0/authenticate.c.orig +++ rsync-3.5.0/authenticate.c @@ -463,7 +463,11 @@ * * OpenBSD has a readpassphrase() that might be more suitable. */ - pass = getpass("Password: "); +#ifdef __sun + pass = getpassphrase("Password: "); +#else + pass = getpass("Password: "); +#endif } if (!pass)