How can i modify the rtorrent.rc from ssh as sudo?

Hi,

As the title says, how can i modify the rtorrent.rc from ssh as sudo? i had tried and had to reinstall on a clean os…

Thank you

well assuming you know how to login to terminal, then you would do the following

sudo nano /home/$USER/.rtorrent.rc
then when your finished editing it you would ctrl +c