• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cvs/ssh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs/ssh


  • Subject: Re: cvs/ssh
  • From: GoochRules! <email@hidden>
  • Date: Mon, 5 Jan 2004 16:27:11 -0700

On Jan 05, 2004, at 15:16, Mark Lentczner wrote:

Can you ssh to the server using only public keys? Given the set up you describe, you should be able to.

Nope, it still asks me for a password, which when given, lets me in.

If not, then your problems lie in how the remote system is configured (if the permissions on, say, AuthorizedKeys, are just a tiny bit too permissive, sshd won't let you in!).

Ok: so i checked the permissions, both local and remote .ssh directories (as well as keys) were 0700, so I tried chmod -R 0744 and 0755 on both local and remote .ssh dirs. Neither did any difference, so I tried 0777, and still no change. (I have since reverted some permissions).


So, I guess this is a more complex problem than anticipated. Are there any config files on the server or locally I should look at? FYI, the server is a RedHat Linux 2.4.7-10 box running sshd version OpenSSH_2.9p2.

This is what my local tree currently looks like:
[goose@Trogdor] ~/.ssh> ls -al
total 40
drwxr-xr-x   7 goose  goose   238  5 Jan 10:04 .
drwxr-xr-x  38 goose  goose  1292  5 Jan 11:05 ..
-rw-------   1 goose  goose   672 19 Dec 22:41 id_dsa
-rw-r--r--   1 goose  goose   609 19 Dec 22:41 id_dsa.pub
-rw-------   1 goose  goose   887 19 Dec 22:41 id_rsa
-rw-r--r--   1 goose  goose   229 19 Dec 22:41 id_rsa.pub
-rw-r--r--   1 goose  goose   720 18 Dec 16:17 known_hosts


..and this is what my remote tree currently looks like: [goose@node3 ~/.ssh]$ ls -al * -rwxr--r-- 1 goose goose 223 Dec 12 17:17 known_hosts2

authorized_keys2:
total 16
drwxr-xr-x    2 goose    goose        4096 Jan  5 11:57 .
drwxr-xr-x    3 goose    goose        4096 Jan  5 17:24 ..
-rwxr-xr-x    1 goose    goose         609 Jan  5 11:57 id_dsa.pub
-rwxr-xr-x    1 goose    goose         229 Jan  5 11:57 id_rsa.pub




The thing at the end of the key is just a identifier for humans to read. It is not used by ssh.



ok. thanks for the info.

- Mark
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: cvs/ssh
      • From: Wolfgang Fischer <email@hidden>
References: 
 >Re: cvs/ssh (From: Mark Lentczner <email@hidden>)
 >Re: cvs/ssh (From: GoochRules! <email@hidden>)
 >Re: cvs/ssh (From: Mark Lentczner <email@hidden>)

  • Prev by Date: Re: how do I suppress trigraph warning?
  • Next by Date: Re: Can XC link to CW Mach-O libs?
  • Previous by thread: Re: cvs/ssh
  • Next by thread: Re: cvs/ssh
  • Index(es):
    • Date
    • Thread