[CentOS] SSH Automatic Log-on Failure - Centos 5.5

Thu Jan 27 07:03:31 UTC 2011
Indunil Jayasooriya <indunil75 at gmail.com>

On Thu, Jan 27, 2011 at 12:15 PM, Always Learning <centos at g7.u22.net> wrote:

> Hallo,
>
> I wanted to avoid typing-in my password every occasion I remotely
> logged-on to a server.
>



you expect Passwordless SSH. If so,


On your PC

# ssh-keygen -t rsa       ( passphrase should be empty )

Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:

then,

# cd /root/.ssh/

Pls scp id_rsa.pub to the Server

# scp id_rsa.pub root at server:/root/.ssh/authorized_keys
 <root at 192.1.54.63>

then, finally ssh to the server from your PC. it would be passwordless.
pls see below

# ssh server



Pls try



>
>
-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110127/c1252d01/attachment-0005.html>