• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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 [email protected]://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