LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2011, 07:19 AM   #1
Sinkeye
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
Question 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
 
Old 06-10-2011, 07:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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
 
Old 06-10-2011, 07:36 AM   #3
Sinkeye
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add user with root privileges and SSH access filmon Linux - Newbie 6 11-02-2010 01:35 PM
vsftpd SSH add user Legerarmy Linux - Server 8 09-06-2010 05:49 PM
How to add user with root privileges and SSH access adamrad Linux - General 8 10-31-2006 03:53 PM
Add a new SSH login/user Temujin_12 Linux - Networking 2 12-31-2004 11:35 PM
Reset SSH User Keys Marz73 Linux - Security 5 01-11-2004 04:21 PM


All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration