Operating System - Linux
1827855 Members
1511 Online
109969 Solutions
New Discussion

how make ftp service on debian sarge machine--Server B in attachment

 
debian111
Regular Advisor

how make ftp service on debian sarge machine--Server B in attachment

Hello all,
I really need your help.

I have to make a sistem for catchig files from patricular server ( see attachment)

I have to allow remote user to connect to server A, over server B and place/take samo data on it.

My question is how implement ftp ( it should be FTP ) on server B?
I am going to make some PHP application on server B to allow remote user to connect to server A.
This is my opinion, I would pritiete very much if you direct me how implement this....just hints how to start.

So my problem is server B, and how make it works above mentioned task.
Server B should be linux....whatever but I prefer Debian

Thank you in advance
8 REPLIES 8
cedber
Occasional Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

why not :
apt-get install pure-ftpd
and when a user make an upload, a script uploads it on B ...
debian111
Regular Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

You mean on server A?
cedber
Occasional Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

No you make : apt-get install pure-ftpd on A.
After you will be able to put a file from B to A...
debian111
Regular Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

:((( unfortunately I can not change anything on
server A, I can only configure server B.

Server A is closed sistem and I can not do anything on it, I can change only server B.

And I am wondering how to allow remote users to
upload/download files on server A, over server B.

That is my problem.

Thank you anyway.
cedber
Occasional Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

Ok... I didn't understand.
It will be difficult to upload files if you can't do anything on A.
Maybe there is a service available on it like sshd which will permit you to copy a file (scp) ?!?
Otherwise ....
debian111
Regular Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

I do not know :((
Thanks
Bill Thorsteinson
Honored Contributor

Re: how make ftp service on debian sarge machine--Server B in attachment

I would recommend replacing ftp with scp.
Already installed and configured relatively
securely on Sarge.

Generate keys on Server B for the webserver
account. Copy the public key to Server A
and place it in .ssh/authorized_keys
for the target userid.

When a user uploads a file copy it
with scp $FILE USER@ServerA:$FILE.

cedber
Occasional Advisor

Re: how make ftp service on debian sarge machine--Server B in attachment

It's what i suggest to him but i think he can't do anything on A...
So it will be difficult to do something ;-)