Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: "Permission denied" Problem

From: Alfred Hovdestad <alfred.hovdestad(at)usask.ca>
Date: Fri Oct 05 2007 - 11:55:11 EDT


No, the problem should lie in the permissions on /root/.ssh. The /root/.ssh directory has to be drwx------ has to inaccessible to all but the owner for ssh to work properly.

   Alfred

Jean-Paul Baillon wrote:
>
> Everyone should be able to read your public key - that's why it is
> called a public key - the private key is the one you keep secured
>
> The permission denied may be with the cat /root/.ssh/id_rsa.pub part or
> the > /abiscard/local/root/.ssh/authorized_id command
>
> Try cat /root/.ssh/id_rsa.pub you should be able to read the public key
> - if so the problem lies with the writing to
> /abiscard/local/root/.ssh/authorized_id file (most likely)
>
> JP
>
>
>
> -----Original Message-----
> From: redhat-list-bounces@redhat.com
> [mailto:redhat-list-bounces@redhat.com] On Behalf Of Ravi Shanmugam
> Sent: Wednesday, 3 October 2007 10:45 PM
> To: redhat-list@redhat.com
> Subject: "Permission denied" Problem
>
> Hi All,
>
> I have a query on accessing a root file as a non-root user. The problem
> is described as follows.
>
> I wanted to execute the following command
>
> cat /root/.ssh/id_rsa.pub > /abiscard/local/root/.ssh/authorized_id
>
> as a non-root user i.e "backup" user. Is there any way I could do this.
> This is for my project requirement.
>
> Your reply will be well appriciated.
>
> Regds,
> Ravi R.S
> SASKEN BUSINESS DISCLAIMER

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Received on Fri Oct 5 12:00:03 2007

This archive was generated by hypermail 2.1.8 : Wed Oct 10 2007 - 00:41:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library