On Tuesday 12 February 2002 17:45, Vinu Chandran wrote:
> Hi
>
>     I want to set up my server machine (RH 7.2) to allow remote
> connections from clients only using pass phrase, and not normal
> password. For that I created the public key in my client machine using
> ssh-kegen. I took ~/.ssh/identity.pub to the server and put it as
> ~/.ssh/authorized_keys. Then I tired to connect my server like
>
> # ssh -1 servername
>
> It asked for pass phrase and after entering the same I got logged in to
> the machine. The same way
>
> # ssh servername
>
> also works by asking my system password at the server. I want to disable
> the normal password based authentication and use only "pass phrase"
> authentication. How can I do that ? please advise...

ensure that PasswordAuthentication option in sshd_config is set to "no" and 
from the client use the remote username like 
ssh -l "remote user" servername. otherwise the user will be taken as the 
local user.

vishwanath 

-- 
T. K. Vishwanath
Penguin India Linux Solutions (P) Ltd.
#288 C.K. Achkat BSK 3rd stage 
3rd phase Bangalore-560 085
mail: [EMAIL PROTECTED]

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to