Hello all,

I am trying to get ssh and X-forwarding to work on my machine, with no luck.
I cannot get it to do port redirection either (-L option). I confirmed that
the X-win options are given at configure time, as well as the correct path
to the library and include directories. The binaries themselves compile and
they seem to work fine, its just these other problems that are preventing
encrypted X sessions. I noticed in the config.log file there was an error
with not finding a mkdev.h header file and I wonder if this might be
contributing to the problem, especially if ssh might not be able to make a
Xserver - which would certainly cause X to fail. If anyone has come across
this or knows of a solution I'd be grateful to hear from you. I've searched
my entire system and there is no mkdev.h file to be found anywhere.

Details:
        ssh 2.0.12
        Linux 2.2.3
        gcc 2.8.1

The error from the log file is:

configure:6322: gcc -o conftest -g -Wall   conftest.c -lshadow -lncurses -ltermcap 
-lbsd  1>&5
configure:6315: sys/mkdev.h: No such file or directory
configure: failed program was:
#line 6312 "configure"
#include "confdefs.h"
#include <sys/types.h>
               #include <sys/stat.h>
               #include <sys/mkdev.h>
int main() {
struct stat st;
               minor(st.st_rdev);
; return 0; }


On a seperate but related issue, is it possible to have ssh do
Xforwarding on multi-homed systems? What I am referring to is I have my
linux box buried away somewhere and I send xterm's to my NT box upstairs.
The linux box also does dial-on-demand PPP and connects to the internet when
required. The NT box communicates on the internet by way of masquerading
through the linux machine. What I would like to be able to do is ssh from
my linux machine to another machine on the internet and then use an encrypted
channel to send the xwindow back to my linux machine, which in turn would
forward it back to my NT box. Is this possible, or can ssh only send the
encrypted data back to the linux box itself? When I check my DISPLAY variable
on my linux machine it is set properly to the name of my NT machine. When
I ssh remotely and then check my DISPLAY variable, it is undefined. I have
Xforwarding configuration options turned on in the configuration files.

Thanks very much

-- 
Stuart Lory
Victoria, BC, Canada
[EMAIL PROTECTED]

Reply via email to