OpenSSH 8.0 released
OpenSSH 8.0 released
Posted Apr 30, 2019 14:46 UTC (Tue) by excors (subscriber, #95769)In reply to: OpenSSH 8.0 released by ScottMinster
Parent article: OpenSSH 8.0 released
I think you can just provide the password to the remote sudo, like:
rsync -e 'ssh -X' --rsync-path='SUDO_ASKPASS=/usr/bin/ssh-askpass /usr/bin/sudo -A /usr/bin/rsync' -a server1:/path server2:/path
