On Thu, Jan 27, 2011 at 12:15 PM, Always Learning <cen...@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@server:/root/.ssh/authorized_keys
 <root@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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to