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!! |
you cant ftp as root. you can using scp though.
|
Try to sftp as root
---------- lynOS |
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) |
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!
|
All times are GMT -5. The time now is 10:01 PM. |