<div class="gmail_quote">On Wed, Dec 9, 2009 at 3:26 PM, Jean-Pierre A. Radley <span dir="ltr"><<a href="mailto:appl@jpr.com">appl@jpr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500):<br>
<div class="im">| Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the<br>
| need to enter a password.<br>
| I found this article<br>
|<br>
| <a href="http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/" target="_blank">http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/</a><br>
|<br>
| I followed every step but I am still forced to type in a password to connect<br>
| to SCO UNIX. The root of the problem is<br>
| the need to interface a linux server running PHP + Apache to extract and<br>
| push data from a SCO UNIX running filePro.<br>
<br>
</div>That article is less than clear.<br>
<br>
Which user's public key on the Linux machine did you copy into which<br>
user's .ssh/authorized_keys file on the SCO box?<br>
<br>
On the Linux box, what user are you logged in as, and which command are<br>
you using to go to the SCO machine?<br>
<font color="#888888"></font><br></blockquote></div><br>I created a user in the SCO box called "web". I created the same user in the LINUX<br>box. Logged in as "web" in linux and ran command `ssh web@unix` I was prompted<br>
to accept the key and then for a password.<br><br>At this point, both LINUX and SCO have the id_rsa file created within the .ssh<br>directory for user "web"<br><br>I was logged in as "josel" but then `sudo su` to run the steps listed on the article<br>
I always used "web" as the user when logging into SCO or attempting to run remote <br>commands<br><br>Regards,<br><br><br>jose<br><br><br>