LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2004, 09:48 AM   #1
dpp777
Member
 
Registered: May 2004
Location: Austin, Tx
Distribution: RHEL / Slackware
Posts: 33

Rep: Reputation: 15
FTP issues


Hello! I'm having some issues with ftp connections. What I need to do is ftp from one box to another as root. (this is all on either a slackware or freeBSD boxes). From the command line i type ftp servername and then it prompts for user name I enter root and then it asks for password adn I enter the password and I get login failed. So I got to the box i'm trying to ftp into, go to /etc/ftpusers and delete root from the list. Try again, login fails. I look in ther /etc/services ftp is not commented out and is using port 21 udp tcp . When I look in the indetd.conf file I have this line that is not commented out
ftp stream tcp nowait root /usr/sbin/tcpd proftpd

I've been searching for a couple of hours and I haven't been able to get it to work. Any ideas? TIA!!
 
Old 07-21-2004, 09:52 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
you cant ftp as root. you can using scp though.
 
Old 07-21-2004, 09:56 AM   #3
lynos
Member
 
Registered: Mar 2004
Distribution: RedHat, Centos, Ubuntu
Posts: 52

Rep: Reputation: 15
Try to sftp as root



----------
lynOS
 
Old 07-21-2004, 10:15 AM   #4
dpp777
Member
 
Registered: May 2004
Location: Austin, Tx
Distribution: RHEL / Slackware
Posts: 33

Original Poster
Rep: Reputation: 15
I know you can use ftp as root, we have other boxes set up where that is done all the time. (However, our network admin is on vaction, hence I get to guess at how to figure this out....). I tried sftp and got an error message:

IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
0f:b3:f8:a8:9e:ca:fc:05:8a:a6:97:30:23:12:cc:77.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts2 to get rid of this message.
Offending key in /root/.ssh/known_hosts2:8
RSA host key for tesla has changed and you have requested strict checking.
Couldn't read packet: Connection reset by peer

(this is all on an internal only network)
 
Old 07-21-2004, 10:46 AM   #5
dpp777
Member
 
Registered: May 2004
Location: Austin, Tx
Distribution: RHEL / Slackware
Posts: 33

Original Poster
Rep: Reputation: 15
Got it!!!! in /etc/proftpd.conf I had to add the line RootLogin on and bingo it works!! woo hoo!! Thanks for all your help! It is greatly appreciated!
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP issues colabus Debian 0 12-12-2004 10:46 PM
FTP issues (redhat 9.0) Gear_freak2000 Linux - Software 14 06-04-2003 05:15 PM
Beginner FTP issues Tenover Linux - Software 2 03-25-2003 10:38 AM
FTP and Firewall issues plisken Linux - Software 2 03-13-2003 03:03 PM
ftp server issues munyard Linux - Software 1 11-07-2002 08:55 AM


All times are GMT -5. The time now is 03:16 AM.

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