--- rsync-3.2.7/authenticate.c.orig +++ rsync-3.2.7/authenticate.c @@ -365,7 +365,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)