On Sat, Nov 01, 2003 at 01:07:05AM -0600, Mike Loiterman wrote: > > Daniel <mailto:[EMAIL PROTECTED]> wrote: > > ssh -l (username) (host) > > I understand that you can use the -l command to specifiy a user to > login as.
You can't with ssh(1) -- it just doesn't work like that. ssh(1) will try and log you into an account with the same name as your current login by default, or you can log into an atlternate username by: % ssh -l username remotehost or % ssh [EMAIL PROTECTED] > I want the person ssh'ing into the server to have to enter a valid > username before they get a password prompt. It's also the case that it's a bad move in security terms for the system to ever let on to an attacker that their attempted login failed because they got a correct username but the wrong password. That should be indistinguishable from attempting to log in to a non-existent username. The principle being that once you know what usernames exist on a server, you can target your attempts to crack the passwords a lot more efficiently. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
Description: PGP signature