This is bread-and-butter stuff that should be easy, made a little more complex by documentation not being accessible on the Sun site. Since I couldn't find the correct incantation through Google I'm documenting it here
First, obtain an X11 ssh passphrase requestor. x11-ssh-askpass works fine.
Now add the following lines to the bottom of $HOME/.dtprofile.
if [ "$SSH_AUTH_SOCK" = "" -a -x /usr/bin/ssh-agent ]; then
eval `/usr/bin/ssh-agent -s`
if [ "$SSH_AGENT_PID" != "" -a -x /usr/bin/ssh-add ]; then
The important bit is the "-s" argument to ssh-agent. Without it I found that it was emitting csh style settings instead of bourne shell style settings.
Log out, log back in again, and you should be prompted for the passphrase for your ssh key. Every ssh connection from then on should authenticate automatically.