unix

Why is my Linux FTP script throwing a KERBEROS_V4 rejected as an authentication type error?

If you’re running a newer Red Hat version like RHEL5, you may encounter an error like the following:


500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type

Remote system type is UNIX.
Using binary mode to transfer files.

What is likely causing the issue is that you are using by default /usr/kerberos/bin/ftp instead of /usr/bin/ftp. You can confirm which version you’re using by typing “which ftp”.

Kerberos FTP is of course expecting Kerberos authentication and throws a warning message if you’re not using it.

To alleviate the warning/error, specify the full path to the ftp you want to use, which in most cases would be /usr/bin/ftp. To simplify this and to prevent doing so in the future, you could set up an alias in your .profile or .bash_profile like this:

alias ftp=/usr/bin/ftp

3 Comments

3 Comments

  1. Lamont Laminack

    November 18, 2010 at 7:08 pm

    good good…this post deserves nothing 🙁 …hahaha just joking 😛 …nice post 😛

  2. Wahl Horse Clippers

    November 22, 2010 at 8:53 pm

    Valuable information and awesome webdesign you got here! I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up

  3. Lakendra Fulwider

    December 1, 2010 at 10:44 pm

    Hey very nice blog!! Man .. Amazing .. I will bookmark your blog and take the feeds also…

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top