how to get file via ssh root ?

LB79

New Member
Hey Guys
A guy provided me a vps to backup my site
the thing is that i just placed wget command to get the backup ie
i went into the new vps
ie it has no files or folders nothing installed on it its blank so i just wget my site url ie mysite.com/ninja.zip and now how to grt it
???
like when i goto like ip/file.zip it doesnt work how to remote it to my server ? Download and install FlashFXP then use that to connect to your server via SSH. Check image below:

Snap_2012.03.08_13h38m56s_001.png
its like 17 gb mate i cant download via home connection (i dont have rdp) I see. In that case, do the following:

Code: yum install httpd (assuming it's centos. Use 'apache2' instead of 'httpd' if it's ubuntu)

Move your files to apache's default directory (different under ubuntu) which is commonly located under:
/var/www/html
Code: mv /current/location/of/file /var/www/html/Then download them using your IP address:
Code: http://ip.add.re.ss/file.extMake sure you've started the httpd server:
Code: service httpd start you can use below command, it's the best and easy way
laugh.gif



scp /path/to/my.file me@serverB:/path/to/destination/my.file if the backup is in a public_html accessable folder you should be able to wget it.

When backups are generated there usually chmod000 or similar, chmod it to 755 and try Quote: Originally Posted by Lifetalk I see. In that case, do the following:

Code: yum install httpd (assuming it's centos. Use 'apache2' instead of 'httpd' if it's ubuntu)

Move your files to apache's default directory (different under ubuntu) which is commonly located under:
/var/www/html
Code: mv /current/location/of/file /var/www/html/Then download them using your IP address:
Code: http://ip.add.re.ss/file.extMake sure you've started the httpd server:
Code: service httpd start Thanks mate
heart.png
worked like a charm
 
Top