|
|
Handle ssh X11 forwarding in .bashrc
Er, have I misunderstood this hint? To enable X11 forwarding, simply use the -X flag in ssh:
-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.
If you're talking about ssh'ing to an OSX server, X11 forwarding should be enabled by default. To be sure edit as sudo /etc/sshd_config, uncomment #X11 forwarding no, change 'no' to 'yes', and restart sshd.Finally, as you don't want to do X11 forwarding by default, you can automatically enable it per host by adding the following lines to ~/.ssh/config (create the file if it's not already there):
Host testboxChange testbox to be the name or IP address of the host you are accessing. Have I missed the point of this script?
Handle ssh X11 forwarding in .bashrc
You have to do all that X11Forwarding stuff you talked about on the ssh client or none of this will work.
Handle ssh X11 forwarding in .bashrc
Actually you want 'ssh -Y' since Tiger.
Handle ssh X11 forwarding in .bashrc
Now that's a hint! I've been racking the Brain Housing Group over this one. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|