• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Scp & Chmod & chown in same command ?

stevefigueras

Basic Pleskian
Hello i need to upload some file from a local server to distant one so i use :
Connect with Putty on local server
scp /************************.jpg root@212.000.000.00://var/www/vhosts/******************.jpg

Connect with Putty on distant server
chmod -R 777 /var/www/vhosts/**********************************.jpg

chown -R sport16 /var/www/vhosts/*******************************.jpg


Question

Can i make these threee operation faster in same command directly during upload from the local server without connecting with the distant server ?
 
Back
Top