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

rtorrent
rtorrent.rc
ssh

#1

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


#2

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