2.9p1 ssh-add/ssh-askpass first try fails
John Dunlap
dunlap at apl.washington.edu
Sat May 12 01:04:03 EST 2001
Nuts, don't pay too much attention to what I say works. I cannot
duplicate it. I could have sworn that some combination accepted
the first try but I cannot find it now. Sorry, -- John
>
> Here's what works:
>
> make and install the main part of the 2.9p1 without the patch
> from clean distro:
>
> tar xfz openssh-2.9p1.tar.gz
> cd openssh-2.9p1
> ./configure --with-pam --enable-gnome-askpass --with-tcp-wrappers
> make
> make install
>
> Then, patch readpass.c:
> - len = read(p[0], buf, sizeof buf);
> + len = atomicio(read, p[0], buf, sizeof buf);
>
> make clean
> make
> (don't install now)
> cd contrib
> cc `gnome-config --cflags gnome gnomeui` \
> gnome-ssh-askpass.c -o gnome-ssh-askpass \
> `gnome-config --libs gnome gnomeui`
> cp gnome-ssh-askpass /usr/local/libexec/ssh-askpass
>
> Now it works.
>
> -- John
>
--
John Dunlap University of Washington
Senior Electrical Engineer Applied Physics Laboratory
dunlap at apl.washington.edu 1013 NE 40th Street
206-543-7207, 543-1300, FAX 543-6785 Seattle, WA 98105-6698
More information about the openssh-unix-dev
mailing list