Closed Thread
Results 1 to 10 of 10

Thread: FTP from server to server failure?

  1. #1
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24

    FTP from server to server failure?

    So the backups on my server have been down for a while, and I did some testing, it seems I cant FTP from my server to the backup server.

    I can FTP to extreme-hq.com from my local computer just fine, but when I log into my server via SSH and try it, with the same host, username, and password, it says authentication failure.. any idea?

    I checked the ports in my firewall, 22 is open for inbound and out.

    Checkout my new forum! http://adminreference.com/

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    root@prs [//]# ftp extreme-hq.com
    Connected to extreme-hq.com.
    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 22:42. Server port: 21.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    500 This security scheme is not implemented
    500 This security scheme is not implemented
    KERBEROS_V4 rejected as an authentication type
    Name (extreme-hq.com:root): toastedpenguin@extreme-hq.com
    331 User toastedpenguin@extreme-hq.com OK. Password required
    Password:
    530 Login authentication failed
    Login failed.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    Might it have something to do with

    extreme-hq.com:root
    Checkout my new forum! http://adminreference.com/

  4. #3
    Jordan Guest
    Is that your username, toastedpenguin@extgreme-hq.com? It doesn't seem right and would usually be just toastedpenguin (without the @).

    Also note that if you have firewall port 21open for FTP that you will be able to FTP into sites.. However, if you are using "Passive" mode it will try to transfer files (and list directories) on random, high-level ports such as 21234. When I use a firewall on servers I always switch FTP to "Active". This causes FTP to use port 21 for everything.

  5. #4
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    Jordan, toastedpenguin@extreme-hq.com is right, for sure...

    ill enable active and see what happens

    Net::FTP=GLOB(0x9cf444c)<<< 220---------- Welcome to Pure-FTPd [TLS] ----------
    Net::FTP=GLOB(0x9cf444c)<<< 220-You are user number 1 of 50 allowed.
    Net::FTP=GLOB(0x9cf444c)<<< 220-Local time is now 14:59. Server port: 21.
    Net::FTP=GLOB(0x9cf444c)<<< 220-This is a private system - No anonymous login
    Net::FTP=GLOB(0x9cf444c)<<< 220-IPv6 connections are also welcome on this server.
    Net::FTP=GLOB(0x9cf444c)<<< 220 You will be disconnected after 15 minutes of inactivity.
    Net::FTP=GLOB(0x9cf444c)>>> USER toastedpenguin@extreme-hq.com^M
    Net::FTP=GLOB(0x9cf444c)<<< 331 User toastedpenguin@extreme-hq.com OK. Password required
    Net::FTP=GLOB(0x9cf444c)>>> PASS ....
    Net::FTP=GLOB(0x9cf444c)<<< 530 Login authentication failed
    Net::FTP=GLOB(0x9cf444c)>>> QUIT^M
    Net::FTP=GLOB(0x9cf444c)<<< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
    Net::FTP=GLOB(0x9cf444c)<<< 221 Logout.
    [cpbackup]: Unable to login to remote FTP server.
    Thats from the log

    When I SSH in the FTP to extreme-hq, I get this

    root@prs [/]# ftp extreme-hq.com
    Connected to extreme-hq.com.
    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 15:06. Server port: 21.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    500 This security scheme is not implemented
    500 This security scheme is not implemented
    KERBEROS_V4 rejected as an authentication type

    Name (extreme-hq.com:root): toastedpenguin@extreme-hq.com
    331 User toastedpenguin@extreme-hq.com OK. Password required
    Password:
    530 Login authentication failed
    Login failed.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    Checkout my new forum! http://adminreference.com/

  6. #5
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    I talked to Orbit Support

    Michael C. - Tuesday August 5th, 2008; 3:25 AM CDT
    Dear Justin,

    While I can completely duplicate the issue. I can ftp from another server without a issue, while attempting to use your credentials from your server it gets an authentication error.

    This isn't a firewall issue I've confirmed this by stopping iptables. (I thought this unlikely but I had to verify it myself.) Now I also tried using lftp to verify that there was nothing wrong on the server, this recieved authentication errors after connection.

    My belief is that on the remote server has an rule to block access from your server specifically. I don't believe this is a firewall rule itself, more hosts.deny or the equivalent for pure-ftpd. Unfortunately this will be the extent we will be able to to troubleshoot this issue as the remote server isn't hosted by us.

    Thank you for choosing The Planet.

    MichaelC
    Technical Support
    The Planet - Dedicated Servers | Managed Hosting & Managed Server Hosting
    Maybe the servers IP is blocked.. crap
    Checkout my new forum! http://adminreference.com/

  7. #6
    Jordan Guest
    I know that server you are trying to connect to didn't let me connect using an IP but did using a host-name. They do have funny rules there.

  8. #7
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    Quote Originally Posted by Jordan View Post
    I know that server you are trying to connect to didn't let me connect using an IP but did using a host-name. They do have funny rules there.
    But I am using the host name..

    whoa, maybe you meant the other way around, it let me connect via the IP!
    Checkout my new forum! http://adminreference.com/

  9. #8
    Jordan Guest
    Really? I meant it the way you tried. So the IP works but not the hostname? Excellent.

  10. #9
    xxxkings is offline Newbie
    Join Date
    Jul 2008
    Posts
    9
    Rep Power
    0
    then is there any confilict in the hostname???
    _____________________________
    Holidays Auto Insurance

  11. #10
    Jordan Guest
    Actually, he is now backing up to my server and I will be backing up to his server eventually. It will be a redundant backup scheme for us.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 09-02-2011, 09:32 PM
  2. Replies: 4
    Last Post: 05-22-2010, 04:48 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts