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