sean finney on Thu, 21 Nov 2002 21:50:06 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] ssh question


heya

On Thu, Nov 21, 2002 at 06:11:35PM -0500, epike@isinet.com wrote:
> hi
> 
> how do i disable ssh password authentication and force
> users to use public key authentication (default = if no
> public key, prompt for password).

in sshd_config:

PubkeyAuthentication yes

then to explicitly use a certain key:

ssh -i keyfile host

though it Just Works without the -i argument for me.  if this is something
you're doing interactively, look into ssh-agent.  cool stuff.

hth
	sean

Attachment: pgp8vyCD6NxIb.pgp
Description: PGP signature