Andrew

        You can probably get the behavior you want by using the RSA login  
and ssh-agent.  That is, if you use

                ssh-keygen

to generate .identity and .identity.pub files locally, then on the remote  
machine append the contents of .identity.pub to a file named

                 ~myuser/.ssh/authorized_keys

you will enable RSA logins.   Then, in your local ~/.ssh/config file append  
the lines:

                Host otherguy
                User myuser


Finally, in any given shell session, run

                ssh-agent bash

to start a bash shell with an agent (any shell will do).   Finally,  type

                ssh-add

as your first command.  Logins will now be invisible and automatic, like  
rsh, so scripts ought to work.  There is an X version of the agent, too, but  
I've never gotten it working for me.



                        Yours,

                                Brian

Reply via email to