Welcome to Delicate template
Header
Just another WordPress site
Header

SSH key: MAC/LINUX to XenServer without PASS

octubre 1st, 2011 | Posted by cristiansan in XenServer

Hi to all, and welcome again to my stupid blog 😛

Today i write about how connect with your XenServer without pass key on the ssh connection. This tutorial is base on a Mac SO but is equal to do on a Linux/Unix SO.

First you need generate the PassKey on your Mac. For this try with:

 ssh-keygen

Follow the intructions. When you finish, it generate a file on /home/user/.ssh/ named id_rsa and a public key named id_rsa.pub.

The first is your identification and the second the public key.

Now, you only need copy the file id_rsa.pub and add the content file on the authorized_keys file on the XenServer.

For copy the key, i use the command SCP. For do it, put:

scp /home/USER/.shh/id_rsa.pub root@192.168.1.201:/tmp

and now, putt he content of id_rsa.pub to the file Authorized_keys with the command:

cat ./id_rsa.pub >> /root/.shh/authorized_keys

Now is time the connect without password on XenServer. See  the step by step process on the next video.

[youtube=http://www.youtube.com/watch?v=sOfan5_PfsA&rel=0]

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *