On 23/01/07, Rick Sewill <rsewill@xxxxxxxxxxxx> wrote:
> ssh -R 8888:C:22 username@B cat - > My first guess was to suggest using ssh -N -L 8888:C:22 username@B I believe -L 8888 forwards port 8888 on Machine A through ssh to machine C, port 22.
Ah, yes, sorry, that's exactly what I did do (I thinko'd -R instead of -L in my description). I've just repeated these test using -L, and get the error message in the subject.
I assume /etc/ssh/sshd_config, on Machine B, has not been changed from the default of allowing TCP Forwarding (AllowTCPForwarding)
Unfortunately I can't access /etc/ssh/sshd_config on that machine (B) as I don't have route access. uname -ar on that machine gives SunOS xxx.xx.xx.xxx. 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V440. ssh -V gives Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL. I don't know any way of checking if TCP forwarding is allowed on that machine.