Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-22-2005, 01:19 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 10

Rep: Reputation: 0
Accessing remote Linux server via FTP as root user

I recently rented a RedHat Linux root server. I have been able to set up virtual domains (via PLESK) and I can access the server as client via FTP and shell (using PuTTy) to access the domains. I can also access the server as root through shell (using PuTTy).

But when I try to access the server as 'root' user via FTP my password (that I use to access the root account via PuTTy) is not authenticated. The root password was set up by the hosting company and I have not made any changes. I am puzzled as to why I can not access the server as 'root' via FTP i.e., why my root password is not authenticated.

I do not think it is a firewall issue as I can access the server from the same computer as a client to access the virtual domains.

Please help if I am missing anything.

Also, what is the alternative to FTP to upload files to the server root?
Old 11-22-2005, 01:43 PM   #2
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Logging into the FTP server as root may be disabled (security risk). You could upload as a normal user, then login (shell), su and do whatever.

As an alternative to ftp, you could use rsync+ssh, or even just scp.
Old 11-22-2005, 01:52 PM   #3
LQ Newbie
Registered: Aug 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Much appreciated. I have just also figured that FTP is disabled for root for security. I also discovered that I can use SFTP (using FileZilla) to log on as root without any problem. SFTP uses the Shell server and meant to be secure.

Good learning for me. Anyway, many thanks.
Old 11-23-2005, 01:24 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Never login remotely as root. Use ssh and setup and use sudo or su when necessary.
Old 11-24-2005, 03:33 AM   #5
LQ Newbie
Registered: Aug 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Further help on phpMyadmin and PLESK

Many thanks.

I have one more question realted to MySQL and phpMyAdmin. My root server got PLESK installed and I expected to get PhpMyAdmin to be available from the PLESK interface under database web-adminstration tab but it is not. Then I checked whether phpMyAdmin is installed on the server or not and found it is in the folder usr/local/psa/admin/domain/database. I am puzzled why it is not available through the PLESK interface even though it is installed in my server root (which is usr/local/psa/admin).

Because PLESK has reconfigured all the files/folders (server root/document root etc) I am confused and do not know how to access phpMyadmin. Should I edit the phpMyadmin config file or edit some other file to make it availavle via PLESK.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing a remote X server from a Windows machine escordeiro Linux - Software 1 03-23-2005 09:24 PM
Convert Windows2003 ftp server to linux platform with user and password hitesh187 Linux - Networking 1 03-07-2005 06:50 AM
accessing mail server from remote tushar_mahakul Linux - Networking 1 09-14-2004 04:40 AM
WU-FTP root login remote adme Linux - Networking 2 02-07-2003 02:58 AM
Accessing LOCAL FTP Server from Internal fails kofi Linux - Security 1 10-29-2002 01:49 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration