sumnima sumnima sumnima sumnima sumnima sumnima sumnima
Categories
blog SSH

Transfer files with SSH from one server to another

Pulling: Let’s say you have a terminal on your host open, you could do:

scp user@192.168.1.100:/tmp/myfile /tmp/files/myfile

This way you are creating a “second tunnel” towards your server.

Pushing: (The other way around) so from your server to your host (essentially it is now a tunnel in your original tunnel):

scp /tmp/myfile user@192.168.1.5:/tmp/files/myfile
Categories
blog magento magento 2 SSH

php -f bin/magento setup:upgrade

php -f bin/magento setup:upgrade
Categories
blog OS X

OSX Terminal SSH port

ssh -p portnumber mysite.com