Date: Wed, 06 Aug 2014 13:53:09 +0200 From: Jos Chrispijn <jos@webrz.net> To: Polytropon <freebsd@edvax.de>, Jos Chrispijn <kernel@webrz.net> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org> Subject: Re: sftp bug? Message-ID: <53E21725.2010704@webrz.net> In-Reply-To: <20140806125140.f6cf5163.freebsd@edvax.de> References: <53E20808.709@webrz.net> <20140806125140.f6cf5163.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E21725.2010704>