[Gllug] File synchronisation

pauln at truemesh.com pauln at truemesh.com
Thu May 9 16:08:05 UTC 2002


 
> I've been using unison as well, in particular the unison-gtk GUI
> front-end.

Ah, I've been using the text one :)

> Is there some way round this for unison-gtk or am I going about it the
> wrong way? e.g. do I need to set up fixed keys for ssh just for unison
> to use, that are stored on each computer? Is this method more risky in
> security terms?

You can do it with ssh key exchange from the faq:

* Is there a way to get Unison not to prompt me for a password every
* time I run it (e.g., so that I can run it every half hour from a shell
* script)?  It's actually ssh that's asking for the password. If you're
* running the Unison client on a Unix system, you should check out the
* 'ssh-agent' facility in ssh. If you do

ssh-agent bash

(or ssh-agent startx, when you first log in) it will start you a shell
(or an X Windows session) in which all processes and sub-processes are
part of the same ssh-authorization group. If, inside any shell belonging
to this authorization group, you run the ssh-add program, it will prompt
you once for a password and then remember it for the duration of the
bash session. You can then use Unison over ssh---or even run it
repeatedly from a shell script---without giving your password again.

It may also be possible to configure ssh so that it does not require any
password: just enter an empty password when you create a pair of keys.
If you think it is safe enough to keep your private key unencrypted on
your client machine, this solution should work even under Windows.
  
Paul 

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list