Please disregard that silliness I just wrote about telnet localhost.
Something like this in /etc/profile will do the trick:
[ -n "$SSH_CLIENT" ] && exec /usr/bin/login $USER
Amanda.
On Sun, 23 Jul 2000, Markus Friedl wrote:
> On Fri, Jul 21, 2000 at 01:16:39PM -0700, Keith A. Iverson wrote:
> > With OpenSSH 2.1.1 in V2 mode, is there a way to force both
> > passphrase and normal password authentication requirements? I.e.,
> > person logs in and MUST give passphrase and then MUST give normal
> > password before they are allowed the login; one or the other alone
> > would not be sufficient.
>
> 1. a ssh server cannot force the client to use passphrases for
> private keys. never.
>
> 2. no, there is not way in openssh to require both Pubkey and passwd
> authentication, but you can send patches to me.