Still you can select /var/www as root directory
What you need is SSH/SFTP account for this server -- it means that you will access it with username/password or username/public key.
Account can be created in Tools->Accounts.
Then you can test it in View->Tabs->Explorer window.
Then open project properties, click on the rightmost button in the root directory input, expand ssh account in the directory tree and select /var/www. It will look like [accountname] /var/www
You don't need root password, just a regular user that has write permissions for the web tree (/var/www in your case) will be enough.