[CentOS] PKA help

Wed Aug 3 18:28:32 UTC 2011
Todd <slackmoehrle.lists at gmail.com>

>
> I also want to use PKA for other users accounts on the servers (for
>> website editing and SFTP transfers) where my id on my laptop does NOT
>> match the user on the server.
>>
>

> Since you've already generated an SSH key pair, you can add the public
> portion of your key to the authorized_keys file for each of the accounts to
> which you will be connecting.  For example, say I have two accounts on a
> server, jleafey and webapps.  All I would need to do is to concatenate the
> public key (id_rsa.pub) to the .ssh/authorized_keys file for each of those
> accounts.  I would then specify the username when I connect, i.e. "ssh
> webapps at server" or "ssh jleafey at server".


ah ha, I can cat id_rsa.pub >> ~/.ssh/authorized_keys for each user account
on the server

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110803/9ec23496/attachment-0004.html>