Copy files to SSH server
To copy a file from your local machine to an SSH server you must have that connection previously configured. That is, your RSA public key must be authorized by the server so that you can access it without any problems. That being said, copying a file is a matter of using the SCP command.
scp /path/to/my/file user@203.0.113.0:/server/path/
Keep in mind that you must replace the IP shown with the IP of your Droplet. This is a simple but powerful command. See you soon!
Categories
- Laravel
- Sublime Text
- OpenSSL
- PHPUnit
- Go
- Apache
- Docker
- MySQL
- OWASP
- SOLID
- JOSE
- PostgreSQL
- Static Code Analysis
- SSH
- Digital Ocean
- Java
- Javascript
- GNU/Linux Debian
- PHP
- POO
- Lenguaje C
- Lenguaje C++
- RegExp
- HTML
- Vue.js
- HTTP
- Redis
- Supervisor
- Buenas prácticas
- Ubuntu
- Webpack
- Vim
- Linux
- Arch Linux
- CSS
- Flutter
- Laravel Vapor
- CI/CD
- cPanel
- WHM
- Networking
- Python
- MacOS
- Lógica y algoritmia
- Git
- Dart
- AWS
- Codeception
- Visual Studio Code
- TypeScript
- SEO
- Node.js
- Nuxt.js
- Google Cloud