Chris Cleeland wrote:
> On Jan 17, 2008 11:33 PM, Robert Loomans <[EMAIL PROTECTED]> wrote:
>> Personally, I just use SSHKeychain (http://sshkeychain.org/).
>>
>> I just make sure that in it's Environment preferences that the variables
>> SSH_ASKPASS is /Applications/SSHKeychain.app/Contents/MacOS/SSHKeychain,
>> and it defaults to setting SSH_AUTH_SOCK to /tmp/<uid>/SSHKeychain.socket.
> 
> That's no longer necessary on leopard.  The problem, though, is that
> sshfs.app doesn't set either of those environment variables when it
> forks sshfs-static, so sshfs-static can't communicate with the agent.

In that case, you just need to set up ~/.MacOSX/environment.plist 
correctly (which is all that the Environment pane in SSHKeychain does). 
That way the environment variables are set when you log in, even for GUI 
apps.

You can do it yourself (mine is attached as an example), or you can use 
a prefpane like RCEnvironment 
(http://www.rubicode.com/Software/RCEnvironment/)....

Obviously once you change the settings, you'll need to log out and back 
in to make them take effect.

Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
	<key>BLOCKSIZE</key>
	<string>1024</string>
	<key>CVS_RSH</key>
	<string>ssh</string>
	<key>PATH</key>
	<string>/Users/robertl/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/bin:/sbin</string>
	<key>RSH</key>
	<string>ssh</string>
	<key>RSYNC_RSH</key>
	<string>ssh</string>
	<key>SSH_ASKPASS</key>
	<string>/Applications/SSHKeychain.app/Contents/MacOS/SSHKeychain</string>
	<key>SSH_AUTH_SOCK</key>
	<string>/tmp/501/SSHKeychain.socket</string>
</dict>
</plist>

Reply via email to