LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] scponlyc and authorized_keys

[ILUG] scponlyc and authorized_keys

Greg McRandal mcrandal at maths.tcd.ie
Tue Jun 9 12:27:16 IST 2009


Hi,

I'm having a problem using scponlyc and an authorized_keys. I have
created a home dir and a writeable dir for the user. I have created a
.ssh dir in both, both owned by the user, along with a file
authorized_keys like this:

$ ll -a ~greg/..
drwx------  2 greg    greg    4096 2009-06-09 11:41 .ssh
$ ll -a ~greg/../.ssh
-rw-r--r-- 1 greg greg 604 2009-06-09 11:41 authorized_keys
and
$ ll -a ~greg/
drwx------ 2 greg greg 4096 2009-06-09 11:35 .ssh
$ ll -a ~greg/.ssh
-rw-r--r-- 1 greg greg  603 2009-06-09 11:35 authorized_keys

However when I try to log on as this user I am asked for my login
password and not the one in authorized_keys.

sftp -v gives this:
debug1: Unspecified GSS failure.  Minor code may provide more
information
No credentials cache found
debug1: Unspecified GSS failure.  Minor code may provide more
information
No credentials cache found
debug1: Unspecified GSS failure.  Minor code may provide more
information
debug1: Next authentication method: publickey
debug1: Trying private key: /home/greg/.ssh/id_rsa
debug1: Offering public key: /home/greg/.ssh/id_dsa
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: Next authentication method: password

Am I doing something wrong? Or does anyone have any pointers?

Thanks,

Greg 



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell