LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add user keys to allow ssh (https://www.linuxquestions.org/questions/linux-newbie-8/add-user-keys-to-allow-ssh-885564/)

Sinkeye 06-10-2011 06:19 AM

Add user keys to allow ssh
 
Hi there I need to add user keys to ssh to allow logins remotely. I am using RHEL 6. How do I do this? I am vaguely aware I need to edit a file but not sure which.
Thanks

acid_kewpie 06-10-2011 06:31 AM

your best option is to use ssh-copy-id todo this. So from the machine you want to ssh from, just connect using that and it will take your keys over, put them in the right place and quit. then a normal ssh should use them automatically

Sinkeye 06-10-2011 06:36 AM

Hi Chris
Thanks for the prompt reply, I have the key entries that I want to add I just need to add them to my tomcat user's id so that we can use this account to test Tomcat development.


All times are GMT -5. The time now is 01:58 AM.