View Full Version : ftp connection for root
jplorans
12-25-2008, 08:04 AM
Hi everyone,
I'd like to know if it's possible to add a file on the root with a ftp connection??
Cause i need to transfer a file that i'll use with an ip adress
Thanks in advance
nobaloney
12-25-2008, 11:31 AM
Hopefully not, since you'd be sending the root password in clear text.
Better ftp it as a user, and then shell in as a user, su to root, and then move the file to where you need it and change the ownership and permissions as you need them.
Jeff
floyd
12-25-2008, 12:29 PM
There are also some ssh clients that will perform file transfers using scp. There are also scp clients. scp is like ftp but it encrypts the transfer.
jplorans
12-25-2008, 02:52 PM
the fact is that i'm not an expert with ssh command, moreover, i don't think it's possible to logon DA with a root login, if yes, let me know it is :rolleyes:
I'm gonna have a look on this scp clients, could be interesting soon
Thanks to both of you
JP
floyd
12-25-2008, 03:02 PM
i don't think it's possible to logon DA with a root login
DA has nothing to do with the root login. I do know that FreeBSD does not allow root login directly. But Linux does.
http://charlotte.at.northwestern.edu/bef/sshdist.html Download "Windows SSH installer"
This one allows both command line terminal and file transfer capability. If you are FreeBSD you can login as a regular user, su to root and then open the file transfer and transfer files as root.
jplorans
12-25-2008, 03:28 PM
Before using DA, i used to work with WHM/Cpanel with which we can login with root, that's why i asked this question.
Sometime, it's very useful to get this opportunity even if it's a question of security for the "rooter".
However, many thanks for your support Floyd, i'll have a look on your link later on (as its midnite over here).
Merry xmas to all of you
JP
Icheb
12-28-2008, 03:23 AM
If you *really* want something like this, and have root login enabled.
I'd suggest a program like WinSCP. It doesn't use FTP, but SCP (which is safer).
But unlike the manual commands, you actually get a GUI which looks like an FTP client.
floyd
12-28-2008, 03:44 AM
SSH Secure Shell Client 3.2.9 gives you the GUI and command line. But I just tested it and you can only open the file transfer gui as the user you login as. You cannot switch users with the file transfer. So to transfer files as root you have to login as root.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.