This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VNC over SSH thru ASL 3.2.11 - stumper

Spent a bunch of time, but can't figure this one out...

I allow external SSH access to the firewall.  I can connect to it consistently.  I've a VNC server running inside my internal network.  From work I SSH to the ASL firewall.  Then I forward a local VNC port over the SSH connection and spray it into the internal network (I think).  But the VNC connection doesn't pop up a session running over the encrypted tunnel as it should.  No error message, no nuthin'.  According to VNC docs & SSH docs this arrangement should work just fine.  Funny thing is...it DID work, but only once (huh?!?).

When I got home, ASL's Admin Access log showed the successful SSH logins, but every successful login entry was followed by this:
"error: open /dev/tty failed - could not set controlling tty: Permission denied"

I'm no Linux guru, so I'm at a loss.  Any ideas?


This thread was automatically locked due to age.
Parents
  • "spraying" into your network - hummm... i don´t know if this is working. perhaps build a vpn - may be easier that way.

    but: download putty and try to forward vnc. try to connect to your local machine outside the "vnc-server-network". works fine with my setup.
  • I have my vnc over ssh working fine, not sure what u mean by spraying in to the network but when u do the port forward in your ssh client there is an option "destination host is different from the ssh server" type the vnc server ip there, then just connect vnc to localhost:yourport
Reply
  • I have my vnc over ssh working fine, not sure what u mean by spraying in to the network but when u do the port forward in your ssh client there is an option "destination host is different from the ssh server" type the vnc server ip there, then just connect vnc to localhost:yourport
Children
  • Thanks, Seb and BQ!  Found the problem.  It was just a dumb config error.  I was trying to connect just as you described, Seb.  BQ, you got me thinking about checking the forwarding parameters again.  I had put my localhost address where the destination address should have been.  So it seems the local port was being forwarded to ITSELF, where there is no VNC server installed.  Confusion ensued...

    It's all good now.  Secure remote control is sure nice!