LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 01: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, 02: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 05:28 AM
SSH Forcing users to use RSA keys XaViaR Linux - Security 8 07-07-2005 12:42 AM
RSA Keys for SSH XaViaR Linux - General 4 07-02-2005 09:15 AM
Using GPG KEYS 0n Install CD browser Fedora 1 01-23-2005 05:06 AM
Mulitiple RSA Keys Reformed Linux - Software 3 12-13-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 AM.

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
Open Source Consulting | Domain Registration