ssh-agent bash -c 'ssh-add /somewhere/yourkey; git clone git@github.com:user/project.git'
I often used this way few year ago, just noted here. You may have to add sudo somewhere in command above.
Use with rsync
ssh-agent bash -c 'ssh-add /home/KfW/KEYs/id_rsa; rsync -avz root@123.199.154.222:/var/www/somesite/uploads .'
Oh too much (Enable nginx debugging)
http://nginx.org/en/docs/debugging_log.html
https://serverfault.com/questions/333048/best-way-to-debug-nginx-config-file
Nginx image resize on the fly not work.
I often used this way few year ago, just noted here. You may have to add sudo somewhere in command above.
Use with rsync
ssh-agent bash -c 'ssh-add /home/KfW/KEYs/id_rsa; rsync -avz root@123.199.154.222:/var/www/somesite/uploads .'
Oh too much (Enable nginx debugging)
http://nginx.org/en/docs/debugging_log.html
https://serverfault.com/questions/333048/best-way-to-debug-nginx-config-file
Nginx image resize on the fly not work.
Comments
Post a Comment