Ssh Tunnel For Mac Os

Posted on  by 



Ssh Tunnel For Mac Os

Hi -
I am trying to use X11 from a Mac running 10.5.7 to remotely access programs on a Linux machine but keep getting the following error when I attempt to launch a new xterm.
[mac]$ echo $DISPLAY
/tmp/launch-XXXX/:0
[mac]$ xhost +remoteLinux.com
[mac]$ ssh -X user@remoteLinux.com
[linux]$ echo $DISPLAY
localhost:10.0
[linux]$ setenv DISPLAY <ip of mac>😮.0
[linux]$ xterm
xterm Xt error: Can't open display: <ip of mac>😮.0
The issue seems to be with the Mac running 10.5.7 because from my MacBook Pro (10.4.11) I can connect and launch xterms, xapps with no problems. I've edited ssh_config and sshd_config to allow X11 forwarding and it makes no difference. Am I missing something obvious? There must be some configuration setting that needs to be modified but can't find anything anywhere. Any suggestions would be greatly appreciated.

Mac OS X (10.5.7)

Mac OS X includes a command-line SSH client as part of the operating system. To use it, goto Finder, and selext Go - Utilities from the top menu. Then look for Terminal. Terminal can be used to get a local terminal window, and also supports SSH connections to remote servers. Using the built-in SSH client in Mac OS X. Mac OS X includes a command-line SSH client as part of the operating system. To use it, goto Finder, and selext Go - Utilities from the top menu. Then look for Terminal. Terminal can be used to get a local terminal window, and also supports SSH connections to remote servers.

  • I can use ‘Back to My Mac’ to ssh into one of the iMacs at home, and thought it should be easy to connect to the router with an ssh tunnel: $ ssh -N -L 8080:192.168.1.1:80 mac.example.com This seemed to work, but whenever I tried to point a browser to localhost:8080 it couldn’t connect to the web page.
  • The Mac already ships with all of the tools needed to set up an SSH tunnel, but you'll also need a remote server to SSH your connection through. Here’s the full list of requirements: A remote server running SSH and the ability to make other outbound connections to the internet.
Mac

Free Ssh Tunnel Server

Posted on





Coments are closed