From owner-freebsd-questions@freebsd.org Thu Aug 20 20:51:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03B1A9BF611 for ; Thu, 20 Aug 2015 20:51:06 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFC6616E7 for ; Thu, 20 Aug 2015 20:51:05 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: by iodb91 with SMTP id b91so60257731iod.1 for ; Thu, 20 Aug 2015 13:51:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=I6kYzvJHV3BsimJnRTAO+gcTLD3P0PxE9qPNCpW6c/Q=; b=lOAUsfzjiM21szZZSS9HJ9giNBeX68QC0WRO8BquqwlJXd6PxFkPJEU1HD46gP5XvP GyG446UMaIshjneAA6M3Fm/0EHKNKPvaAcBTs2rNL1pog1InlUP7ZuppkdaDzJG/4SeZ 5cwtGycuhPKPOzfynzuK3BcvZ6ZXXEmmfIeTHruBDdOi+1FGnOHy38bAMX3pvo5aE1SD h6tHALDpJ0LQDsmsnc3oOtzRnj2RuXajqHmON6auUdxYBnlyCIIVIm96+FsqmC9Z7Ulc sp1aZG1gNloa8AYNpig+b+1WP1dpM8lACAR9nceGql9FhFLvWtaA4e8opsq2Pwcev/BF iNLw== X-Gm-Message-State: ALoCoQm1OmyQtS9E8pbVVzx7+5h30OTDG5tsAroMOjVc25QNtjF0BvYacm2EvhWaE/2oVRI9+bD7uz8ikUvRDGqYImQEAQZKY1QuZ/cnKXl7ffUV5p2mJfEz0Vb7bARjGgkSop50BnZ/ X-Received: by 10.107.153.66 with SMTP id b63mr4337763ioe.101.1440103864514; Thu, 20 Aug 2015 13:51:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.162 with HTTP; Thu, 20 Aug 2015 13:50:44 -0700 (PDT) From: Jaime Kikpole Date: Thu, 20 Aug 2015 16:50:44 -0400 Message-ID: Subject: Strange SFTP and PAM failure To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 20:51:06 -0000 I'm using a product called PowerSchool which is trying to send data to the FreeBSD server over SFTP. The service provide hosts it, so I can't do any debugging on the far end. What I know for sure is that any other program (FileZilla, command line sftp, etc.) will connect, authenticate, and view files just fine. This includes on-site and off-site traffic. PowerSchool, on the other hand, seems to have something go wrong during the authentication steps. When I tried to make one of these failed connections, I saw this in /var/log/messages: Aug 20 16:37:48 apps sshd[564]: error: PAM: authentication error for <> from <> Aug 20 16:37:48 apps sshd[564]: error: Received disconnect from <>: 3: com.jcraft.jsch.JSchException: Auth cancel [preauth] Any idea what might be causing this? -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system.