Mac os x

I‘ve ssh gateway behind my NAT firewall. So all users must first login to my gateway host from the internet and then login to other machines on the LAN. This works great for cli based apps. However, few users would like to run x apps from internal LAN hosts and tunnel X display through intermediate ssh gateway and display back output on their local system. For example, from localsystem user makes connection as follows:

ssh -X user@gateway.example.com
ssh -X user@somelan.example.com

X forwarding fails with an error:

Error: Can’t open display:

How do I fix this problem and allow users to use X apps with my intermediate Linux / BSD gateway?

{ 5 comments }

I forgot the MySQL root password. How do I reset MySQL root password?

{ 16 comments }

How do I convert hex number to decimal number using a shell script under UNIX / Linux operating systems?

{ 22 comments }

How do I rename a file in bash under UNIX / OS X / Linux / BSD operating systems?

{ 1 comment }

How do run a a shell script with an AppleScript? How do I integrate shell scripts into AppleScript? How do I call a shell script called /path/to/chkhost.sh using an applescript?

{ 5 comments }

Do you recommend protective leather shell for Macbook systems?

{ 0 comments }

Bash Clear DNS Cache

by on January 26, 2009 · 0 comments

How do I clear DNS cache using BASH shell prompt under UNIX like operating systems?

{ 0 comments }