[Unison-hackers] mac patches
Wout Mertens
wmertens.spm at advalvas.be
Tue Dec 13 12:29:16 EST 2005
The way I usually hack around this situation is by using the
SSH_ASKPASS environment variable. If you have that and DISPLAY set,
ssh will run the program in SSH_ASKPASS to request the password.
This way, you have programmatic control over the password requesting,
instead of having to handle every tiny variation of the password/
phrase requests. You can cache the password for subsequent connects,
or even automatically install a public key on the remote server with
a separate ssh connection.
I have example scripts for these situations.
Cheers,
Wout.
On 18 Sep 2005, at 16:16, Ben Willmore wrote:
> Hi,
>
> Here are 3 patches against current SVN unison that fix the following
> problems with the mac UI.
>
> 1. tiger-ssh-prompt-patch.20050916
> To work with a variety of systems, terminal.ml needs to recognize
> _both_ 'Password:' and 'Password: '. This patch provides an
> appropriate regex. [This was wrongly fixed between 2.13.16 and
> current SVN.]
>
> 2. uimac-passphrase-prompt-nobin.patch.20050916
> Extends password UI so it will request an ssh passphrase if necessary,
> allowing use of passphrase-protected ssh keys. Note this only patches
> the ascii files -- for it to work, you need to also alter the .nib
> file: Make a new outlet for MyController, called passwordPrompt, of
> type NSTextField. Connect this to the text 'Please enter your
> password' in the Password window.
>
> 3. uimac-password-sheet.patch.20050916
> Fixes bug where providing a profile name on the command line confuses
> the password window (it is detached from the main window), and leads
> to a crash on a second sync.
>
> One last thing -- the UI opens halfway off-screen for me in the
> current SVN version.
>
> Cheers
>
> Ben
> <tiger-ssh-prompt-patch.20050916>
> <uimac-passphrase-prompt-nobin.patch.20050916>
> <uimac-password-sheet.patch.20050916>
> _______________________________________________
> Unison-hackers mailing list
> Unison-hackers at lists.seas.upenn.edu
> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
More information about the Unison-hackers
mailing list