Install modules

Hi all, I am a newbie web developer, i dont have idea, what is the best method for install modules to my server (with lsm opigno), can you help me? i trying it using ssh, but dont work because my server is using public keys, FTP no is secure, you know another way?


yea 3 hours for this xD sudo chown www-data:www-data -R /var/www/drupal replace drupal with the name of your folder or directory maybe have this form sudo chown www-data:www-data -R /var/www/html/drupal I have no idea of ​​security with this method. any suggestions ?