On Mon, 2005-02-07 at 19:06 +0100, [EMAIL PROTECTED] wrote: > Already the way you suggested but it doesn't work: I can still connect by > userid and password. > Any other suggestion? > Ciao > Vittorio
did you restart sshd after changing the config file? > :-- Messaggio originale -- > :Reply-To: [EMAIL PROTECTED] > :Date: Mon, 7 Feb 2005 12:54:53 -0500 > :From: Brett Curtis <[EMAIL PROTECTED]> > :Reply-To: Brett Curtis <[EMAIL PROTECTED]> > :To: [EMAIL PROTECTED] > :Subject: Re: [gentoo-user] ssh & rsa only authentication > : > : > :just make sure all other auth methods are set to 'no' > : > :UsePAM no > :PasswordAuthentication no > :PermitEmptyPasswords no > : > :and such.... > : > : > :On Mon, 7 Feb 2005 18:52:59 +0100, [EMAIL PROTECTED] > :<[EMAIL PROTECTED]> wrote: > :> I succeeded in setting up sshd to work with a public rsa key put on the > :> server in /root/.ssh/authorized_keys. And now I can access the server > remotely > :> by means of BOTH rsa authentication giving the passphrase AND the more > :conventional > :> userid & password. > :> > :> I would like to disable the latter in order to have only the rsa > authentication > :> working and not other options. > :> > :> What options should I modify or add in ssh_config and sshd_config? > :> > :> Ciao > :> Vittorio > :> > :> -- > :> [email protected] mailing list > :> > :> > : > :-- > :[email protected] mailing list > : > > > > -- > [email protected] mailing list > -- Nick Rout <[EMAIL PROTECTED]> -- [email protected] mailing list
