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. |
How about using scp instead?
:) Cheers, Tink |
would that be all you need?
Can you recommend a program? Thanks |
Well, if you already are using ssh I'd assume
scp has been installed with it ... Cheers, Tink |
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.
|
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, |
I understand you need Windows SCP. So here's an example: http://winscp.sourceforge.net/eng/
|
Quote:
Cheers, Tink |
All times are GMT -5. The time now is 10:03 PM. |