LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp to root (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-to-root-165034/)

rixride00 04-01-2004 12:47 PM

ftp to root
 
How can you FTP to a directory like root or other system directory?


I.e We need to add files to

/usr/local/tomcat/webapps/ROOT/

Using FTP I get a 550 permission denied.

Do I have to chmod these to 755 or something? Are you allowed to ftp to these directories?

My current work around is to upload files in the virtual/home/sitename/xxx.
directory then log in via ssh and mv the file to the new location.

There has got to be an easier way.



Also I am assuming using ftp this way may cause some security holes, if so what are they?

What is the alternative if you can't ftp to these other directories?


Thanks for any light you can shed.

Tinkster 04-01-2004 01:35 PM

How about using scp instead?

:)


Cheers,
Tink

rixride00 04-01-2004 03:43 PM

would that be all you need?

Can you recommend a program?

Thanks

Tinkster 04-01-2004 03:55 PM

Well, if you already are using ssh I'd assume
scp has been installed with it ...


Cheers,
Tink

Mara 04-01-2004 04:25 PM

Using FTP to log in as root is not the best idea as basswords go unencrypted, so everyone with a sniffer can get it. SSH (or scp for files) is much better idea.

rixride00 04-02-2004 02:09 PM

I am just now using putty, I am just getting familiar with it, what program would you use for SCP?

My ftp I use wsftp or smartftp are there any free SCP programs?

Thanks again,

Mara 04-02-2004 02:21 PM

I understand you need Windows SCP. So here's an example: http://winscp.sourceforge.net/eng/

Tinkster 04-02-2004 03:05 PM

Quote:

Originally posted by rixride00
I am just now using putty, I am just getting familiar with it, what program would you use for SCP?

My ftp I use wsftp or smartftp are there any free SCP programs?

Thanks again,

Putty also comes with a scp program...


Cheers,
Tink


All times are GMT -5. The time now is 10:03 PM.