ssh-agent
is the piece that you want to get working, as it does exactly what you're asking about. The agent runs as a daemon, and when you "add" a private key to it, it remembers that key and automatically provides it to the remote sshd
during the initial connection. (ssh-add
is simply the command you run to manually add a private key to ssh-agent
).
In OS X, as of Leopard, you shouldn't ever have to run ssh-agent
or ssh-add
manually. It should "just happen" when you attempt to connect to a server. Once per key, it will prompt you with a UI password dialog, which (among other things) will allow you to automatically add the key to the ssh-agent
so you never get prompted again.
This is handled by having a launchd
configuration that listens for connections on the $SSH_AUTH_SOCK
socket, and automatically launches ssh-agent
when it first needs to; after that, ssh-agent
prompts you for credentials only when it needs to open a new key.
If that's not working, make sure you have the correct launchd
configuration file present:
/System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
If it's still not working for you for some reason, here's the "old" way of getting things running by hand:
http://timesinker.blogspot.com/2007/08/getting-ssh-agent-going-on-mac-osx.html
There is also this application, which I have stopped using since Leopard came out but basically did the same thing in previous versions of Mac OS X:
http://www.sshkeychain.org/
Having worked in 4K on the very same graphics adaptor, its not your graphics adaptor. You've mentioned running a third party screenshot tool and its not working well.
Its basically due to the interaction of display scaling and software that does screen capture. You could go with native screenshotting tools or my answer for this question would work as a workaround.
Essentially to get purrit to work, find the executable, set it to
disable display scaling for that application, and it should work fine. A longer term fix would be to bug the author to support modern display scaling and all those lovely things. Interestingly, this is probably a bug that would affect any non dpi aware/older screenshot/capture tools.
Best Answer
Try this: Grab 'impossible' screenshots