Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Changing Hosts (Linux to Linux), maintaining permissions? (https://thetfp.com/tfp/tilted-technology/78611-changing-hosts-linux-linux-maintaining-permissions.html)

asshopo 12-14-2004 08:27 AM

Changing Hosts (Linux to Linux), maintaining permissions?
 
The trick? No ssh access in either place. Can't tar on old, untar on new. No cPanel or anything on the old server, cPanel on the new server. Can't backup site on old server and restore on cPanel (due to I have no idea what cPanels backup format is).

Is there a FTP or FXP client that will maintain permissions between the 2 servers?

Thanks

skaven 12-14-2004 10:33 AM

hmmm....tricky. Your best bet is probably going to be to set up some kind of tunnel over a protocol that *is* supported. For example, set up a TCP tunnel over the FTP port, then tar to the pipe on the sending end, and untar from the pipe on the receiving end. Google around for TCP tunneling stuff, you'll probably find something you can use.

aurigus 12-14-2004 12:46 PM

The problem with doing all of that is he doesnt have SSH access.

I'm afraid you are pretty much out of luck. FTP the files to your PC and then re-ftp them to the new place and set permissions.

If you ask your host nicely maybe they will tar them up for you?

vox_rox 12-14-2004 04:00 PM

Without a secure shell, you right in your understanding of the limitations. But aurigus I think has the idea, and that is if the hot will ball them up for you. But seeing as you're leaving their servers, they may not want to, nor are they obligated to, do you any favours. Still, maybe if you ask them, they will just be nice people and help out a poor web manager in need.

Good luck to you.

Peace,

Pierre

skaven 12-14-2004 09:23 PM

Quote:

Originally Posted by aurigus
The problem with doing all of that is he doesnt have SSH access.

SSH is not the only protocol that can be tunneled. The linux TCP stack has support for tunneling over an arbitrary pair of ports; it's just a matter of setting it up. Obviously tunneling through an SSH *session* is more secure, but it is definitely possible to instruct linux to pipe data from a shell process out an arbitrary TCP port, then receive that data on the other end from another arbitrary TCP port. Just because you'd be using the FTP *port* doesn't mean you're limited to the FTP *protocol*.

Hell, if you have FTP access, that implies that port 21 is open, in which case why not just run your ssh daemon on port 21 on both machines? There's no rule saying it has to be on port 22.

asshopo 12-15-2004 05:38 AM

skaven, what you say is totally right, except, I dont have shell access. I dont have the access to setup that tunnel whatsoever :)



I just ended up ftping them all down to my local machine and then to the new host. FlashFXP allows you to set permissions recursivly, so that worked. I usually use FileZilla and they only allow single folder/files at a time.

Thanks for the suggestions tho.

Rawb 12-15-2004 09:20 AM

I case this ever comes up again, here's a good tip to do things on a webhost, even without real shell access.

(It's evil, I know, but hey, it works)

http://www.gimpster.com/wiki/PhpShell

It's the PHP Shell, it lets you put up a webpage and login to it as your shell, it's horribly insecure, so only put it up when you want to do something on your hosts shell, and then take it down after you are finished.


All times are GMT -8. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73