← Начало
Виж статията
Редакция: How do I copy files or folders between servers using SSH?
Заглавие
Slug
URL: https://team1.nqma.info/a/
how-do-i-copy-files-or-folders-between-servers-using-ssh
Категория
(без категория)
100WS Hosting Limitations
Account Access
Account Management
Account Usage
Application Installer
Backups
Control Panel
Cron Jobs
cURL
Database Configuration
Database Maintenance
Database Management
Databases
Dedicated IP
DNS
DNS Configuration
Domain Management
Domain Registration
Domain Transfers
Domain Validation
Email
Email (SMTP) Restrictions
Email Configuration
Email Management
Email Support
Email Troubleshooting
Free Hosting Limitations
FTP Configuration
Google Apps
Hosting Migration
Joomla
Legacy Tools
Logs
Mailing List
MySQL
Network
Network Troubleshooting
NodeJS
Performance
Prestashop
Pricing
Remote Server Connection Block
Reseller Configuration
Reseller Customization
Reseller Mode
Sales Verification
Scripting
Scripting Support
Security
Server Configuration
Server Issues
Server Management
SFTP
SSL
Storage
Support Tickets
Technical Support
Testing
Uncategorized
VPS
Website Configuration
Website Errors
Website Security
WooCommerce
WordPress
WordPress Management
Zen Cart
Пинната статия (винаги най-горе)
Съдържание
<p>To copy files or folders between servers in SSH, use these commands:</p><ul><li><strong>Copy a file from remote to local:</strong><pre>scp -P 2222 tecnored@tecnored.com.gt:mail-backup.tar.gz /home/www/cPanel-backups</pre></li><li><strong>Copy a folder from remote to local:</strong><pre>scp -P 2222 -r fogg_1@web7.us.cloudlogin.co:/home/www/kiahretreat.com.au /home/www/1test</pre></li><li><strong>Sync a folder using rsync:</strong><pre>rsync -e 'ssh -p 2222' -avzh getosell_1@web2.us.cloudlogin.co:/home/www/cidesmedia.com /home/www/</pre></li></ul><p>Replace usernames, hosts, and paths with your specific details. Ensure the correct port is used (e.g., 2222).</p>
Запази
Преглед