Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Disable ssh password login under Tiger' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Disable ssh password login under Tiger
Authored by: faze on Aug 19, '05 12:25:12PM

This is a great resource for setting up ssh and using public key authentication.

They don't get into modifying the sshd_config file until part 3, but every part is worth reading

[ Reply to This | # ]
no home folder on server
Authored by: kyngchaos on Aug 19, '05 02:24:15PM

One problem I have with setting up key authentication is that I have no home folder on the server. I'm setup on Mac OS X Server (10.3) with no home. The step about adding your public key to the authorized keys on the server assumes that it goes in the user's home ssh configuration.

Is this a must? I can add a home folder setting for myself with no problem, but I wonder if this is an absolute requirement, or if there is another place ssh can get authorized keys from, like LDAP maybe?

I can see one case where having no Mac home folder on OSX Server might be common: if a user is a Windows-only user. The Windows home folder setting (profile path) is separate from the Mac home folder setting, a part of Samba configuration.

[ Reply to This | # ]
no home folder on server
Authored by: raider on Aug 22, '05 12:33:47PM

In the server's sshd configuration (SSH Server) there is a setting to change the default key location. Usually the default is ~/.ssh

If you don't have home folders that won't work, but you'll need to specify a different location, although I can't even begin to tell you how or if you can even do that with multiple users (how does it know which key file to use?)

[ Reply to This | # ]