Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-24-2005, 02:12 PM   #1
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?

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

Rep: Reputation: 31
The stuff should be inserted as a oneliner into ~user/.ssh/authorized_keys2
The best way is to:
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.. (:


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

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