I asked: > I've just about finished setting up an anonymous sftp site. The only issue I > still have is that the login to sftp is like scp or ssh -- it assumes the > username of the issuer of the command unless you specify otherwise. I'd like > to get the prompt more like telnet or ftp -- no matter what user you may be > logged is locally, you are prompted for both a username and password when > logging in. > > I have not seen any reference to being able to do this with sftp, but I could > have missed it. Has anyone seen a way to get sftp (or ssh for that matter) to > not assume the username to be used? The answer: It cannot be done. The user is defined by the client side before connecting to any server. Several people suggested UseLogin in the sshd_config file, but that did nothing. I've put the proper usage in the /etc/issue file so that inbound connections will know that they need to specify Thanks to: Sebastian Muniz Safdar Mirza (hi, Safdar!) Michael Horton Nick Hindley Brian Dunbar David Magda Christopher L. Barnard ------------------- comment your code as if the maintainer is a homicidal maniac who knows where you live. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Mar 23 21:44:18 2010
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:16 EST