Matthias Apitz
2011-06-21 17:13:31 UTC
Hello,
This is with CUPS 1.4.3, in older versions 1.x we did not face the problem.
We access remote servers via SSH and forward the port 631 though the SSH
session as:
$ ssh -C -L 1631:remote-host:631 remote-host
Let's say the SSH runs on host 'myhost'; the LISTEN on port 1631 is fine and
connects are forwarded to the remote CUPS daemon;
but any request to http://myhost:1631/ gives only '400 bad request' from
CUPS; I've checked with
$ lynx -trace http://myhost:1631/
what's going on and I see that the HTTP request contains a line
Host: myhost:1631
which perhaps is not understood by CUPS daemon. How can I get this working?
Thanks
matthias
This is with CUPS 1.4.3, in older versions 1.x we did not face the problem.
We access remote servers via SSH and forward the port 631 though the SSH
session as:
$ ssh -C -L 1631:remote-host:631 remote-host
Let's say the SSH runs on host 'myhost'; the LISTEN on port 1631 is fine and
connects are forwarded to the remote CUPS daemon;
but any request to http://myhost:1631/ gives only '400 bad request' from
CUPS; I've checked with
$ lynx -trace http://myhost:1631/
what's going on and I see that the HTTP request contains a line
Host: myhost:1631
which perhaps is not understood by CUPS daemon. How can I get this working?
Thanks
matthias