Re: SSH Automatic Log-on Failure - Centos 5.5

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





On Thu, Jan 27, 2011 at 12:15 PM, Always Learning <centos@xxxxxxxxxx> 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


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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux