Build bug and execution bug
Ben Lindstrom
mouring at eviladmin.org
Tue Jul 1 06:33:45 EST 2008
DESTDIR doesn't replace doing a ./configure --prefix=/path/you/want/
DESTDIR just allows you to do a "make install" into a different place than
what the --prefix has defined.
- Ben
On Mon, 30 Jun 2008, Bruce Korb wrote:
> The build bug: DESTDIR=$SOMEDIR does not work:
>
> mkdir ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/etc
> ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/sbin/sshd -t -f
> ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/etc/sshd_config
> Could not load host key: /usr/local/etc/ssh_host_rsa_key
> Could not load host key: /usr/local/etc/ssh_host_dsa_key
> Disabling protocol version 2. Could not load host key
> sshd: no hostkeys available -- exiting.
> make: [check-config] Error 1 (ignored)
>
> (the current version is rooted in /usr, not /usr/local, and these
> files live in /etc/ssh.)
>
> ==============
>
> Anyway, the problem that starts it all:
>
> http://www.linuxquestions.org/questions/linux-networking-3/connection-refused-on-remoteforward-ed-port-652472/#post3198878
>
> basically, the "RemoteForward" is not working as expected.
> It works with my client side daemon running 0.9.8c and 0.9.8e
> (as reported by "ssh", not "sshd"), but not with 0.9.8g. On the
> server side, I invoke:
>
> /usr/bin/ssh -v -q -g -R ${PORT}:localhost:22 -n \
> -o BatchMode=yes -o StrictHostKeyChecking=no <home-mach>
>
> The only user allowed to ssh in has a shell that does nothing except
> keep the connection open.
>
> On my home machine, I then attempt:
>
> ssh -X -p ${PORT} <work-uname>@localhost
>
> The result (with "-vv'):
> OpenSSH_5.0p1, OpenSSL 0.9.8g 19 Oct 2007
> debug1: Reading configuration data ${HOME}/.ssh/config
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to localhost [127.0.0.1] port ${PORT}.
> debug1: connect to address 127.0.0.1 port ${PORT}: Connection refused
> debug1: Connecting to localhost [::1] port ${PORT}.
> debug1: connect to address ::1 port ${PORT}: Connection refused
> ssh: connect to host localhost port ${PORT}: Connection refused
>
>
> ============
>
> Help, please? :)
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list