{"id":2355,"date":"2018-02-03T08:20:11","date_gmt":"2018-02-03T08:20:11","guid":{"rendered":"http:\/\/www.dpscomputing.com\/blog\/?p=2355"},"modified":"2021-03-01T21:51:52","modified_gmt":"2021-03-01T21:51:52","slug":"too-many-authentication-failures-filezilla","status":"publish","type":"post","link":"https:\/\/www.dpscomputing.com\/blog\/2018\/02\/03\/too-many-authentication-failures-filezilla\/","title":{"rendered":"Too Many Authentication Failures &#8211; Filezilla"},"content":{"rendered":"<p>T<a href=\"http:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2012\/08\/filezilla-logo.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1659\" data-permalink=\"https:\/\/www.dpscomputing.com\/blog\/2012\/08\/30\/ftp-transferring-files-from-your-computer-to-your-website\/filezilla-logo\/\" data-orig-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2012\/08\/filezilla-logo.png\" data-orig-size=\"200,200\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"filezilla-logo\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2012\/08\/filezilla-logo.png\" data-large-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2012\/08\/filezilla-logo.png\" tabindex=\"0\" role=\"button\" class=\"alignright size-full wp-image-1659\" src=\"http:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2012\/08\/filezilla-logo.png\" alt=\"FileZilla logo\" width=\"200\" height=\"200\" \/><\/a>rust me, we&#8217;ve all been there.<\/p>\n<p>And yes, it is immensely frustrating.<\/p>\n<p>Picture the scene &#8211; you&#8217;ve been good and decided to use key based SSH for securely transferring files between your servers and local machines.\u00a0 You&#8217;ve disabled password access to shore up security even more.\u00a0 You&#8217;re used to using passwords &#8211; but keyfiles are no biggie.<\/p>\n<p>Until&#8230;<\/p>\n<h2>&#8220;Too many authentication failures&#8221;<\/h2>\n<p>Panic can certainly start to set in, particularly as Filezilla continues to try and connect when it&#8217;s clearly not going to work no matter how many times it tries!\u00a0 You&#8217;re asking yourself why oh why it would attempt such a futile task.\u00a0 But really, the only question you want answering is why its not working properly.<\/p>\n<p>And usually, the solution is fairly simple.<\/p>\n<h3>Keys saved in Pageant<\/h3>\n<p>Pageant, or the PuTTy authentication agent, is a handy key repository used by not only the PuTTy SSH\/Bash client but also other third party software &#8211; including Filezilla.<\/p>\n<p>You load up your first key, go to Filezilla and all is OK.\u00a0 For Now.\u00a0 Maybe.<\/p>\n<p>But you add a few more keys and bang, the sh*t has hit the fan.<\/p>\n<h4>What&#8217;s Up?<\/h4>\n<p>Or more like, what&#8217;s down?\u00a0 And the answer to that question will be access to your server from your IP as you do your best imitation of a brute force attack.\u00a0 Don&#8217;t panic though, there&#8217;s a fairly reasonable way around it.<\/p>\n<p>Yes Pageant plays nicely with a few keys.\u00a0 But Filezilla will try each one in order and any reasonably configured server will only allow a few attempts before it decides you are trying to brute force your way.<\/p>\n<p>Fortunately, the answer is fairly simple&#8230;<\/p>\n<p>Unfortunately, it means not using Pageant for Filezilla.<\/p>\n<h2>Filezilla Key Configuration<\/h2>\n<p>Although when you used Pageant and only had a couple of keys you didn&#8217;t have to do this and life seemed so much easier, for server \/ website admins with more than a few sites to manage, it&#8217;s more heartache than it&#8217;s worth.<\/p>\n<p>You&#8217;ve probably got a site configured currently that looks a bit like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2356\" data-permalink=\"https:\/\/www.dpscomputing.com\/blog\/2018\/02\/03\/too-many-authentication-failures-filezilla\/filezilla-example-site\/\" data-orig-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site.jpg\" data-orig-size=\"405,504\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;David Smith&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1517645555&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"filezilla-example-site\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-241x300.jpg\" data-large-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site.jpg\" tabindex=\"0\" role=\"button\" class=\"aligncenter size-full wp-image-2356\" src=\"http:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site.jpg\" alt=\"\" width=\"405\" height=\"504\" srcset=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site.jpg 405w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-121x150.jpg 121w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-241x300.jpg 241w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-100x124.jpg 100w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-150x187.jpg 150w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-200x249.jpg 200w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-300x373.jpg 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/p>\n<p>Head over to the Logon Type dropdown and you&#8217;ll notice a Keyfile option &#8211; give that a press:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2357\" data-permalink=\"https:\/\/www.dpscomputing.com\/blog\/2018\/02\/03\/too-many-authentication-failures-filezilla\/filezilla-logontype-keyfile\/\" data-orig-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile.jpg\" data-orig-size=\"312,106\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;David Smith&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1517645716&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"filezilla-logontype-keyfile\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile-300x102.jpg\" data-large-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile.jpg\" tabindex=\"0\" role=\"button\" class=\"aligncenter size-full wp-image-2357\" src=\"http:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile.jpg\" alt=\"\" width=\"312\" height=\"106\" srcset=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile.jpg 312w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile-150x51.jpg 150w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile-300x102.jpg 300w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile-100x34.jpg 100w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-logontype-keyfile-200x68.jpg 200w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/p>\n<p>Your password input box will disappear to be replaced by a key file input box:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2358\" data-permalink=\"https:\/\/www.dpscomputing.com\/blog\/2018\/02\/03\/too-many-authentication-failures-filezilla\/filezilla-example-site-keyfile\/\" data-orig-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile.jpg\" data-orig-size=\"399,109\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;David Smith&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1517645802&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"filezilla-example-site-keyfile\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile-300x82.jpg\" data-large-file=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile.jpg\" tabindex=\"0\" role=\"button\" class=\"aligncenter size-full wp-image-2358\" src=\"http:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile.jpg\" alt=\"\" width=\"399\" height=\"109\" srcset=\"https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile.jpg 399w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile-150x41.jpg 150w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile-300x82.jpg 300w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile-100x27.jpg 100w, https:\/\/www.dpscomputing.com\/blog\/wp-content\/uploads\/2018\/02\/filezilla-example-site-keyfile-200x55.jpg 200w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/p>\n<p>Go ahead, click on &#8216;Browse&#8230;&#8217; and select your key file.\u00a0 Job done.<\/p>\n<p>Next time you try to connect to your server, it&#8217;ll only try the appropriate key file preventing any pesky brute force look-a-like &#8216;attacks&#8217; as you try to login.\u00a0 Enter your key password and boom, you&#8217;re in!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trust me, we&#8217;ve all been there. And yes, it is immensely frustrating. Picture the scene &#8211; you&#8217;ve been good and decided to use key based SSH for securely transferring files between your servers and&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[55],"tags":[2067,2072,1251,2065,2062,2064,2071,2063,2069,2068,2066,2070],"class_list":["post-2355","post","type-post","status-publish","format-standard","hentry","category-articles","tag-authentication-failure","tag-could-not-connect-to-server","tag-filezilla","tag-filezilla-keys","tag-key-file","tag-putty","tag-server-sent-disconnect-message","tag-ssh","tag-ssh-auth-failure","tag-ssh-authentication-failure","tag-too-many-authentication-failures","tag-type-2-protocol-error"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3nsfA-BZ","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/posts\/2355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/comments?post=2355"}],"version-history":[{"count":2,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/posts\/2355\/revisions"}],"predecessor-version":[{"id":3082,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/posts\/2355\/revisions\/3082"}],"wp:attachment":[{"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/media?parent=2355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/categories?post=2355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dpscomputing.com\/blog\/wp-json\/wp\/v2\/tags?post=2355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}