[NTLUG:Discuss] expect

Stuart Johnston saj at thecommune.net
Tue Mar 8 16:03:57 CST 2005


Terry wrote:
> 
> First, I tried to write a script and failed (the first couple of times
> anyway), and so, (being the determined individual I am), I gave up.
> Simple task it seemed - secure shell to another computer, switch to
> different user, run a GUI application

Unless I am missing something here, you should just be able to do 
something like:

ssh -X user at computer kaddressbook

Although, I suppose that you are using expect to remember your password. 
  The alternative would be to use ssh keys (see earlier thread).

-Stuart




More information about the Discuss mailing list