Ssh missing 'login as' prompt

Malcolm Kay malcolm.kay at internode.on.net
Mon Nov 3 00:07:49 PST 2003


On Mon, 3 Nov 2003 12:10, Mike Loiterman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Micheal Patterson <mailto:micheal at tsgincorporated.com> wrote:
> > ----- Original Message -----
> > From: "Mike Loiterman" <mike at ascendency.net>
> > To: "'Kevin Stevens'" <kevin_stevens at pursued-with.net>
> > Cc: <freebsd-questions at freebsd.org>
> > Sent: Sunday, November 02, 2003 3:33 PM
> > Subject: RE: Ssh missing 'login as' prompt
> >
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Kevin Stevens <mailto:kevin_stevens at pursued-with.net> wrote:
> >>> On Oct 31, 2003, at 22:25, Mike Loiterman wrote:
> >>>> -----BEGIN PGP SIGNED MESSAGE-----
> >>>> Hash: SHA1
> >>>>
> >>>> Whenever I try to ssh into my machie, it just goes straight to
> >>>> user at host password: by passing the traditional login as: . How
> >>>> can I turn that back on?
> >>>
> >>> Remove the client machine's public key from the server's
> >>> ~/.ssh/authorized_keys2 file for that user id.
> >>>
> >>> KeS
> >>
> >> That works but only temporarily.  The next time I login, it goes
> >> directly to the password prompt.  Am I fooling myself?  Is it any
> >> more secure to get a login as: prompt and then a password prompt
> >> as compared to just going directly to a password prompt?
> >>
> >> - ------------------------------
> >> Mike Loiterman
> >> grantADLER
> >> Tel: 630-302-4944
> >> Fax: 773-868-0071
> >> Email: mike at ascendency.net
> >> PGP Key 0xD1B9D18E
> >
> > What you're describing is normal behavior for ssh. Telnet does the
> > same thing from a fbsd to fbsd system. It uses the login id on the
> > connecting terminal as the user to auth against on the remote. I
> > would recommend using an rsa pass phrase instead of the password if
> > you wish it to be more secure.
>
> That's strange, to me at least.  I have a number of other systems
> that just give a login as: prompt.  Specifically FreeBSD 4.x.  Has
> things changed?
>

I think you need:
 UseLogin yes
in /etc/sshd_config at the far end.

Malcolm Kay



More information about the freebsd-questions mailing list