Date: Thu, 14 Aug 2014 12:55:34 +0200 From: Jos Chrispijn <kernel@webrz.net> To: Polytropon <freebsd@edvax.de> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org> Subject: Re: sftp bug? Message-ID: <53EC95A6.70400@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
Problem solved - made a stupid assumption regarding shell commands. Instead of using .login, I put commands in .csh which caused output. And this cannot be the case with openssh/sftp: [1]http://marc.info/?l=openssh-bugs&m=106564883001263&w=1 BR, Jos Chrispijn Polytropon: Can I bypass this in a configuration file? The (unsafe) FTP program (ftp) accesses a file called ~/.netrc (see "man ftp" for details), surely sftp can do the same. In this file, passwords can be stored. But keep in mind: Those passwords are in _clear text_ inside this file, so make sure permissions are tight! By completely avoiding passwords and instead relying on keys the problem could probably be cured. So no password has to be stored as plain text in a regular file. References 1. http://marc.info/?l=openssh-bugs&m=106564883001263&w=1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EC95A6.70400>