From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 11:48:54 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83BF7D9F for ; Wed, 6 Aug 2014 11:48:54 +0000 (UTC) Received: from ceto.cloudzeeland.nl (webrz.xs4all.nl [83.161.133.58]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "PositiveSSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 423372C6C for ; Wed, 6 Aug 2014 11:48:53 +0000 (UTC) Received: from ceto.cloudzeeland.nl (ceto.cloudzeeland.nl [10.10.10.30]) by ceto.cloudzeeland.nl (Postfix) with ESMTP id 1F7CE47B7939; Wed, 6 Aug 2014 13:48:51 +0200 (CEST) Received: from [10.0.0.72] (unknown [46.44.159.250]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by ceto.cloudzeeland.nl (Postfix) with ESMTPSA id DED6047B7848; Wed, 6 Aug 2014 13:48:50 +0200 (CEST) Message-ID: <53E21725.2010704@webrz.net> Date: Wed, 06 Aug 2014 13:53:09 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Polytropon , Jos Chrispijn Subject: Re: sftp bug? References: <53E20808.709@webrz.net> <20140806125140.f6cf5163.freebsd@edvax.de> In-Reply-To: <20140806125140.f6cf5163.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on ceto.cloudzeeland.nl Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 11:48:54 -0000 Polytropon: > Maybe an issue related to keyboard layout? The '?' is a > valid character for a password like everyone else. :-) That is exactly what I thought! > Question: Is the password supplied with a command line? I have created a putty session and work in that session from the command prompt. All login's work, except if I use sftp - then password is not recognized as being valid. What I then tried is using a password that doesn't have this '?' and that works perfectly. I do use the sftp commandline, but without the password option (which I try to add after I get asked for it by sftp). > In this case, it might be that the shell is trying to > evaluate this special character: > > % sftp bob:my?password@ftp.example.com > > would be such a case. You could try using \? or maybe > enclosing the password in 'single' quotes (to tell the > shell not to try to interpret _anything_ in this string). What I could imagine is that putty does something with it... BR, Jos Chrispijn