LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-24-2005, 02:12 PM   #1
KMorley
LQ Newbie
 
Registered: Feb 2005
Distribution: RedHat ES3
Posts: 2

Rep: Reputation: 0
Where to install RSA keys?


RedHat ES3 server. Remote user wants to connect to server using ssh and has provided their public key is an ID_DSA.PUB file. How and/or where do I install the public key?

I've verified that ssh-server is installed and that I can start the service. Other than installing the remote user's key, is there anything else to do to enable ssh access?

Thanks!
 
Old 02-24-2005, 03:33 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
The key.pub:s stuff should be inserted as a oneliner into ~user/.ssh/authorized_keys2
The best way is to:
Code:
mkdir -p ~user/.ssh
cat ID_DSA.PUB >> ~user/.ssh/authorized_keys2
chmod a+r ~user/.ssh/authorized_keys2
The need for a key varies on the configuration of the sshd. I myself have disabled passwords as an authentication method and a key is the only way to get in. If it has been set up out of the box, I doubt normal password authentication would be disabled, but you can allways check it at /etc/ssh/sshd_config

One thing to check would be that /etc/security/* (if it exists) dont have any restrictions for that user to log in. If this sounds odd to you, there probablky wont be a problem with those.. (:
 
  


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
Konqueror-RSA Keys XaViaR Linux - General 5 12-03-2006 06:28 AM
SSH Forcing users to use RSA keys XaViaR Linux - Security 8 07-07-2005 01:42 AM
RSA Keys for SSH XaViaR Linux - General 4 07-02-2005 10:15 AM
Using GPG KEYS 0n Install CD browser Fedora 1 01-23-2005 06:06 AM
Mulitiple RSA Keys Reformed Linux - Software 3 12-13-2003 03:02 PM


All times are GMT -5. The time now is 06:56 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