LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-29-2009, 12:21 PM   #1
mrbiomathe
LQ Newbie
 
Registered: Nov 2009
Posts: 8

Rep: Reputation: 0
ssh public key auth without root acces possible ?


Hi...

is it necessary , that the CLIENT has to have root acces.. to make public key auth possible ?

This is why i ask :
I have a server .. far far away..
i want to acces it with ssh over public key auth.
BUT i have no root priviliges on the client system.

so ?
 
Old 11-29-2009, 12:39 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
If you're talking about setting up private and public keys for authentication, no, the client does not need privileged access to the server as long as the server is already configured to allow key access. Try copying your public key to the remote box and see if it just works. If you have questions, post back and one of us will help you figure out what's going on.
 
Old 11-29-2009, 02:11 PM   #3
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by alunduil View Post
If you're talking about setting up private and public keys for authentication, no, the client does not need privileged access to the server as long as the server is already configured to allow key access. Try copying your public key to the remote box and see if it just works. If you have questions, post back and one of us will help you figure out what's going on.
[I'm assumging that OP has already created a keypair]

The fastest and ealiest way to do this is to use ssh-copy-id.

for instance, if I want to add my public key to the 'florg' account on the machine 'zoof' I would type

Code:
ssh-copy-id florg@zoof
I will be prompted for florg's password. From that point forward, I can ssh in to florg@zoof using public key authentication.

Last edited by bartonski; 11-29-2009 at 02:13 PM.
 
  


Reply



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
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 11:15 AM
ssh key auth problem Ammad Linux - General 4 06-23-2009 01:08 AM
need help with SSH private/public key taduser Linux - Security 2 04-02-2007 07:07 PM
ssh public key problem Lotharster Linux - Networking 3 12-28-2005 08:18 PM
ssh using public key jkmartha Linux - Networking 1 05-04-2005 02:52 AM

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

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