<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DYHR.COM &#187; Computer</title>
	<atom:link href="http://dyhr.com/category/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://dyhr.com</link>
	<description></description>
	<lastBuildDate>Thu, 10 Jun 2010 13:03:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>We No Longer Trust Google</title>
		<link>http://dyhr.com/2010/05/17/we-no-longer-trust-google/</link>
		<comments>http://dyhr.com/2010/05/17/we-no-longer-trust-google/#comments</comments>
		<pubDate>Mon, 17 May 2010 16:07:31 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Law]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=390</guid>
		<description><![CDATA[Who is lurking in the darkness? Google is lurking the darkness as Gmonster if you ask me, friends of the Internet as well as quite a few grand organizations, legislators, government officials around the world dealing with privacy, security and data protection issues. Recently Google has been caught with their cute innocent Googli map cars sucking [...]]]></description>
			<content:encoded><![CDATA[<p>Who is lurking in the darkness? Google is lurking the darkness as Gmonster if you ask me, friends of the Internet as well as quite a few grand organizations, legislators, government officials around the world dealing with privacy, security and data protection issues.</p>
<p>Recently Google has been caught with their cute innocent Googli map cars sucking the data right out private WiFi networks around the globe in big citys. Reluctantly Google has admitted to this infringement on peoples privacy and has come up with an apology to the citizens of the World Wide Web. Google did not tell the whole truth at first. Google softly claims it to be an error of some unknowing technician. Ha ha.. Is this a joke!?</p>
<p>This mishap might end up having devastating consequences for Google. And this is not the only report about dodgy Google behavior. Google is known to suppress and censor certain undesirable data. Google sniff search keywords not yet submitted in search fields. Google does things to your gmail account you do not even wanna hear about. It all adds up. On behalf of the people of the Internet:</p>
<p>WE NO LONGER TRUST GOOGLE!</p>
<p>Links:<br />
<a href="http://www.nytimes.com/2010/05/16/technology/16google.html">Google Data Admission Angers European Officials</a> nytimes.com 15. May 2010<br />
<a href="http://googleblog.blogspot.com/2010/05/wifi-data-collection-update.html">WiFi data collection: an update</a> googleblog.blogspot.com 14. May 2010<br />
<a href="http://googlepolicyeurope.blogspot.com/2010/04/data-collected-by-google-cars.html">Data collected by Google cars</a> 27. April 2010</p>
<p>Background (just a few):<br />
<a href="http://arstechnica.com/tech-policy/news/2010/04/countries-ask-google-to-drop-launch-now-fix-later-policy.ars">Countries ask Google to drop &#8220;launch now, fix later&#8221; policy</a> arstechnica.com<br />
<a href="http://www.pcworld.com/article/150872/google_rethinks_privacy_scales_back_data_collection.html">Google Rethinks Privacy, Scales Back Data Collection</a> pcworld.com<br />
<a href="http://en.wikipedia.org/wiki/Google">Google</a> wikipedia.org</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2010/05/17/we-no-longer-trust-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding SSH</title>
		<link>http://dyhr.com/2010/04/17/understanding-ssh/</link>
		<comments>http://dyhr.com/2010/04/17/understanding-ssh/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 11:49:26 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=307</guid>
		<description><![CDATA[SSH lets you send secure, encrypted commands to a computer remotely, as if you were sitting at the computer. You use the ssh tool in Terminal to open a command-line connection to a remote computer. While the connection is open, commands you enter are performed on the remote computer. Note: If the SSH service ( [...]]]></description>
			<content:encoded><![CDATA[<p>SSH lets you send secure, encrypted commands to a computer remotely, as if you were sitting at the computer. You use the ssh tool in Terminal to open a command-line connection to a remote computer. While the connection is open, commands you enter are performed on the remote computer.</p>
<p><strong>Note:</strong> If the SSH service ( sshd daemon ) is enabled you can use any application that supports SSH to connect to a computer running Mac OS X or Mac OS X Server.</p>
<p><strong><span style="color: #008000;">How SSH Works</span></strong></p>
<p>SSH works by setting up encrypted tunnels using public and private keys. Here is a description of an SSH session:</p>
<ol>
<li>The local and remote computers exchange public keys. If the local computer has never encountered a given public key, SSH and your web browser prompt you whether to accept the unknown key.</li>
<li>The two computers use the public keys to negotiate a session key used to encrypt subsequent session data.</li>
<li>The remote computer attempts to authenticate the local computer using RSA or DSA certificates. If this is not possible, the local computer is prompted for a standard user-name/password combination.</li>
<li>After successful authentication, the session begins and remote shell, a secure file transfer, a remote command, or other action is begun through the encrypted tunnel.</li>
</ol>
<p>The following are SSH tools:</p>
<ul>
<li>sshd—Daemon that acts as a server to all other commands</li>
<li>ssh—Primary user tool that includes a remote shell, remote command, and port-</li>
<li>forwarding sessions</li>
<li>scp—Secure copy, a tool for automated file transfers</li>
<li>sftp—Secure FTP, a replacement for FTP</li>
</ul>
<p><strong><span style="color: #008000;">Generating Key Pairs for Key-Based SSH Connections</span></strong></p>
<p>By default, SSH supports the use of password, key, and Kerberos authentication. The standard method of SSH authentication is to supply login credentials in the form of a user name and password. Identity key pair authentication enables you to log in to the server without supplying a password.</p>
<p>Key-based authentication is more secure than password authentication because it requires that you have the private key file and know the password that lets you access that key file. Password authentication can be compromised without a private key file.</p>
<p>This process works as follows:</p>
<ol>
<li>A private and a public key are generated, each associated with a user name to establish that user’s authenticity.</li>
<li>When you attempt to log in as that user, the user name is sent to the remote computer.</li>
<li>The remote computer looks in the user’s .ssh/ folder for the user’s public key. This folder is created after using SSH the first time.</li>
<li>A challenge is sent to the user based on his or her public key.</li>
<li>The user verifies his or her identity by using the private portion of the key pair to decode the challenge.</li>
<li>After the key is decoded, the user is logged in without the need for a password. This is especially useful when automating remote scripts.</li>
</ol>
<p><strong>Note:</strong> If the server uses FileVault to encrypt the home folder of the user you want to use SSH to connect as, you must be logged in on the server to use SSH. Alternatively, you can store the keys for the user in a location that is not protected by FileVault, but this is not secure.</p>
<p>To generate the identity key pair:</p>
<ol>
<li>Enter the following command on the local computer: <code>$ ssh-keygen -t dsa</code></li>
<li>When prompted, enter a filename in the user’s folder to save the keys in; then enter a password followed by password verification (empty for no password).For example:<br />
<code>Generating public/private dsa key pair. Enter file in which to save the key (/Users/anne/.ssh/id_dsa): frog Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in frog. Your public key has been saved in frog.pub. The key fingerprint is: 4a:5c:6e:9f:3e:35:8b:e5:c9:5a:ac:00:e6:b8:d7:96 annejohnson1@mac.com</code></p>
<p>This creates two files. Your identification or private key is saved in one file (frog in our example) and your public key is saved in the other (frog.pub in our example).</p>
<p>The key fingerprint, which is derived cryptographically from the public key value, also appears. This secures the public key, making it computationally infeasible for duplication.</li>
<li><span style="white-space: pre;"> </span>Copy the resulting public file, which contains the local computer’s public key, to the .ssh/authorized_keys file in the user’s home folder on the remote computer (~/.ssh/ authorized_keys).</li>
<li>The next time you log in to the remote computer from the local computer you won’t need to enter a password.</li>
</ol>
<p><strong>Note: </strong>If you are using an Open Directory user account and have logged in using the account, you do not need to supply a password for SSH login. On Mac OS X Server computers, SSH uses Kerberos for single sign-on authentication with any user account that has an Open Directory password. (Kerberos must be running on the Open Directory server.) For more information, see Open Directory Administration.</p>
<p><strong><span style="color: #008000;">Updating SSH Key Fingerprints</span></strong></p>
<p>The first time you connect to a remote computer using SSH, the local computer prompts for permission to add the remote computer’s fingerprint (or encrypted public key) to a list of known remote computers. You might see a message like this:</p>
<p><code>The authenticity of host "server1.example.com" can’t be established. RSA key fingerprint is a8:0d:27:63:74:f1:ad:bd:6a:e4:0d:a3:47:a8:f7. Are you sure you want to continue connecting (yes/no)?</code></p>
<p>The first time you connect, you have no way of knowing whether this is the correct host key. Most people respond “yes.” The host key is then inserted into the ~/.ssh/ known_hosts file so it can be verified in later sessions.</p>
<p>Be sure this is the correct key before accepting it. If possible, provide users with the encryption key through FTP, mail, or a download from the web, so they can be sure of the identity of the server.</p>
<p>If you later see a warning message about a man-in-the-middle attack (see below) when you try to connect, it might be because the key on the remote computer no longer matches the key stored on the local computer. This can happen if you:</p>
<p>Change your SSH configuration on the local or remote computer.</p>
<p>Perform a clean installation of the server software on the computer you are attempting to log in to using SSH.</p>
<p>StartupfromaMacOSXServerCDonthecomputeryouareattemptingtologinto using SSH.</p>
<p>AttempttouseSSHtoaccessacomputerthathasthesameIPaddressasacomputer that you used SSH with on another network.</p>
<p>To connect again, delete the entries corresponding to the remote computer (which can be stored by name and IP address) in the file ~/.ssh/known_hosts.</p>
<p><strong><span style="color: #008000;">An SSH Man-in-the-Middle Attack</span></strong></p>
<p>Sometimes an attacker can access your network and compromise routing information, so that packets intended for a remote computer are routed to the attacker, who then impersonates the remote computer to the local computer and the local computer to the remote computer.</p>
<p>Here’s a typical scenario: A user connects to the remote computer using SSH. By means of spoofing techniques, the attacker poses as the remote computer and receives information from the local computer. The attacker then relays the information to the intended remote computer, receives a response, and then relays the remote computer’s response to the local computer.</p>
<p>Throughout the process, the attacker is privy to all information that goes back and forth, and can modify it.</p>
<p>A sign that can indicate a man-in-the-middle attack is the following message that appears when connecting to the remote computer using SSH.</p>
<p>@<span style="white-space: pre;"> </span>WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!<span style="white-space: pre;"> </span>@</p>
<p>Protect for this type of attack by verifying that the host key sent back is the correct host key for the computer you are trying to reach. Be watchful for the warning message, and alert your users to its meaning.</p>
<p><strong>Important</strong>: Removing an entry from the known_hosts file bypasses a security mechanism that would help you avoid imposters and man-in-the-middle attacks. Before you delete its entry from the known_hosts file, be sure you understand why the key on the remote computer has changed.</p>
<p><strong><span style="color: #008000;">Connecting to a remote computer using SSH</span></strong></p>
<p>Use the ssh tool to create a secure shell connection to a remote computer. To access a remote computer using ssh:</p>
<ol>
<li><span style="white-space: pre;"> </span>Open Terminal.</li>
<li><span style="white-space: pre;"> </span>Log in to the remote computer by entering the following command:<br />
$ ssh -l username server Replace username with the name of an administrator user on the remote computer.<br />
Replace server with the name or IP address of the remote computer. For example:<br />
$ ssh -l anne 10.0.1.2<br />
If this is the first time you’ve connected to the remote computer, you’re prompted to continue connecting after the remote computer’s RSA fingerprint appears.</li>
<li><span style="white-space: pre;"> </span>Enter yes.</li>
<li>When prompted, enter the user’s password for the remote computer.<br />
The command prompt changes to show that you’re connected to the remote computer. In the case of the previous example, the prompt might look like this:<br />
10.0.1.2:~ anne$</li>
<li>To send a command to the remote computer, enter the command.</li>
<li>To close a remote connection, enter logout.<br />
You can authenticate and send a command using a single line by appending the command to execute to the basic ssh tool. For example, to delete a file you could use:<br />
$ ssh -l anne server1.example.com rm /Users/anne/Documents/report<br />
or<br />
$ ssh -l anne@server1.example.com &#8220;rm /Users/anne/Documents/report&#8221;<br />
You’re prompted for the user’s password.</li>
</ol>
<p>Reference:<br />
<a onmousedown="return clk(this.href,'','','res','2','&amp;sig2=YA6qUPSt9wwAeRSFt6NTqQ','0CA8QFjAB')" href="http://manuals.info.apple.com/en/MacOSXSrvr10.3_CommandLineAdminGuide.pdf"><em>Mac OS X</em> Server (v10.3 or Later): <em>Command</em>-<em>Line Administration</em> (Manual)</a> manuals.info.apple.com p. 31 &#8211; 35</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2010/04/17/understanding-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test the SMTP Service</title>
		<link>http://dyhr.com/2010/04/07/test-the-smtp-service/</link>
		<comments>http://dyhr.com/2010/04/07/test-the-smtp-service/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 06:39:33 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=370</guid>
		<description><![CDATA[To test the SMTP service, follow these steps: 1. Type Telnet at a command prompt (Terminal) , and then press ENTER. 2. At the telnet prompt, type set LocalEcho, press ENTER, and then type open 25, and then press ENTER. 3. Type helo me, and then press ENTER. The output resembles the following: 250 OK [...]]]></description>
			<content:encoded><![CDATA[<p>To test the SMTP service, follow these steps:<br />
   1. Type Telnet at a command prompt (Terminal) , and then press ENTER.<br />
   2. At the telnet prompt, type set LocalEcho, press ENTER, and then type open <machinename> 25, and then press ENTER.<br />
   3. Type helo me, and then press ENTER.<br />
      The output resembles the following:<br />
      250 OK<br />
   4. Type mail from:email@domain.com, and then press ENTER.<br />
      The output resembles the following:<br />
      250 OK &#8211; mail from <email@domain.com><br />
   5. Type rcpt to:youremail@yourdomain.com, and then press ENTER.<br />
      The output resembles the following:<br />
      250 OK &#8211; Recipient <youremail@yourdomain.com><br />
   6. Type Data, and then press ENTER.<br />
      The output resembles the following:<br />
      354 Send data.  End with CRLF.CRLF<br />
   7. Type Subject:This is a test, and then press ENTER two times.<br />
   8. Type Testing, and then press ENTER.<br />
   9. Press ENTER, type a period (.), and then press ENTER.<br />
      The output resembles the following:<br />
      250 OK<br />
  10. Type quit, and then press ENTER.<br />
      The output resembles the following:<br />
      221 Closing Port / Mail queued for delivery</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2010/04/07/test-the-smtp-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I need help with my Mac</title>
		<link>http://dyhr.com/2009/11/08/i-need-help-with-my-mac/</link>
		<comments>http://dyhr.com/2009/11/08/i-need-help-with-my-mac/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 15:49:08 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[I need help]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=317</guid>
		<description><![CDATA[If you need help with your mac? Maybe I can help you here and now! If you do not know how to.. If you can&#8217;t get it to work the way it should.. If you are stuck with something.. If your are to your ears with.. If you need help.. There is a good chance [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-319" title="I need help now" src="http://dyhr.com/wp-content/uploads/ineedhelpnowmedium.png" alt="I need help now" width="192" height="279" />If you need help with your mac? Maybe I can help you here and now!</p>
<ul>
<li>If you do not know how to..</li>
<li>If you can&#8217;t get it to work the way it should..</li>
<li>If you are stuck with something..</li>
<li>If your are to your ears with..</li>
<li>If you need help..</li>
</ul>
<p>There is a good chance that I can help you online through <a href="http://www.apple.com/macosx/what-is-macosx/ichat.html" target="_blank">iChat&#8217;s</a> build in screen sharing function.</p>
<p>I am an experienced Apple Mac Super User. I have been working with supporting Apple computers, networks, servers, websites, development, programming, scripting, design, service and Apple users for more than a decade. I love my work.</p>
<p>3 Simple Prerequisites:</p>
<ol>
<li>You have a reliable Internet connection (If you read this you probably have!)</li>
<li>iChat with Screen Sharing enabled (All Apple computers ship with <a href="http://www.apple.com/macosx/what-is-macosx/ichat.html" target="_blank">iChat</a>)</li>
<li>Get a Mac Service Ticket below (Easy and secure online payment with PayPal)</li>
</ol>
<p><img class="alignleft size-full wp-image-335" title="docdyhrhelpmac" src="http://dyhr.com/wp-content/uploads/docdyhrhelpmac.jpg" alt="docdyhrhelpmac" width="88" height="85" /></p>
<p>iChat or mail me &#8211; and I will help you with your Mac right now: <a href="mailto:docdyhr@me.com">docdyhr@me.com</a></p>
<p>Your Apple&#8217;s best friend, Thomas J. Dyhr</p>
<p>Links: <a href="http://www.apple.com/macosx/what-is-macosx/ichat.html" target="_blank">Ichat</a> apple.com</p>
<p>Mac Service Ticket</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="9530633" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /></p>
</form>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2009/11/08/i-need-help-with-my-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable X11 Forwarding with SSH on Mac OS X Leopard</title>
		<link>http://dyhr.com/2009/09/05/how-to-enable-x11-forwarding-with-ssh-on-mac-os-x-leopard/</link>
		<comments>http://dyhr.com/2009/09/05/how-to-enable-x11-forwarding-with-ssh-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 02:56:23 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=255</guid>
		<description><![CDATA[Apple Remote Desktop (ARD) or VNC is a wonderful invention if you want full control over a remote desktop, but what if you only want to access the user display of one single X11 program on a remote machine? This is possible on Mac OS X with X11 Forwarding. THIS ARTICLE HAS BEEN REWRITTEN (Manual [...]]]></description>
			<content:encoded><![CDATA[<p>Apple Remote Desktop (ARD) or VNC is a wonderful invention if you want full control over a remote desktop, but what if you only want to access the user display of one single X11 program on a remote machine?</p>
<p>This is possible on Mac OS X with X11 Forwarding.</p>
<p>THIS ARTICLE HAS BEEN REWRITTEN (Manual set of the $DISPLAY variable is insecure!)</p>
<p><strong>Prerequisites</strong>:</p>
<p><a title="X11 explained on wikipedia.org" href="http://en.wikipedia.org/wiki/X11" target="_blank">X11</a> environments on both the local and remote machine (see man X). Ensure network access for X11. In Mac OS X  on X11 Quartz check the authorization and client access options under Preferences in the Security pane.</p>
<p>Enable X11 Forwarding with the &#8220;X11Forwarding yes&#8221; option set in &#8220;/private/etc/sshd_config&#8221; for your SSH Daemon own local X11 host in order to recieve X11 client request back from  the remote machine through &#8216;<a title="ssh explained on wikipedia.org" href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">ssh</a>&#8216; with the -X option set.</p>
<p>Start or restart the Remote Login (SSH) Service  under System Preference / Sharing pane on Mac OS X. The SSH daemon should run on the remote machine as well!</p>
<p>See &#8220;man ssh&#8221;,  &#8221;man ssh_config&#8221; and &#8220;man sshd_config&#8221; for the complete explanation.</p>
<p><strong>3 Simple Steps to X11 Forward on Mac OS X</strong></p>
<p><strong>1.</strong> <strong>Open  &#8221;Terminal&#8221;</strong> in Mac OS X Leopard.</p>
<p><strong>2.</strong> <strong>ssh -X </strong> X11 Forward to your remote host (See &#8220;man ssh&#8221; for the use of the -X or -Y flag X11 forward):</p>
<pre style="font: normal normal normal 12px/normal Monaco, sans-serif; margin-top: 20px; margin-right: 10px; margin-bottom: 20px; margin-left: 10px; background-color: #eeeeff; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; padding: 0.4em; border: 1px solid #dddddd;">ssh -X johndoe@123.456.789</pre>
<p><strong>3.</strong> <strong>Start your remote X11 program</strong> and view the user display on your local machine:</p>
<pre style="font: normal normal normal 12px/normal Monaco, sans-serif; margin-top: 20px; margin-right: 10px; margin-bottom: 20px; margin-left: 10px; background-color: #eeeeff; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; padding: 0.4em; border: 1px solid #dddddd;">xeyes &amp;</pre>
<p>Voila it works! The X application will start up your X11 environment. Its quite easy to do X11 forwarding when you first get the hang of it.</p>
<p>Do elegant X11 stuff with ssh -X -f  like:</p>
<pre style="font: normal normal normal 12px/normal Monaco, sans-serif; margin-top: 20px; margin-right: 10px; margin-bottom: 20px; margin-left: 10px; background-color: #eeeeff; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; padding: 0.4em; border: 1px solid #dddddd;">ssh -X -f user@remotehost xcalc -bg black -fg green</pre>
<p><strong>Caveat Notes</strong>:</p>
<p>Have the latest and updated versions of Mac OS X, Developer and X11.</p>
<p>3 Clues to successful X11 forwarding:</p>
<p>A. When you make changes to /etc/sshd_config remember to restart the Remote Login Service (SSH).</p>
<p>B. Remember to allow incoming access to X11 in the X11 preferences and through your firewall(s) and router!</p>
<p>C. And you have will of curse have to be accurate about your local and remote machine naming convention i.e. John-Does-iMac.local or privat.happycamper.com. Check with &#8220;echo $HOSTNAME&#8221;. On the remote machine you could also do a check with $REMOTEHOST (if set) to check your own machine name on the remote host.</p>
<p>NOT! Sometimes it is necessary to use xhost +remotehost and set the $DISPLAY environment variable manually on Mac OS X (something -X or -Y flag in ssh should normally do for you). Try &#8220;echo $DISPLAY&#8221; on the local machine and remote to get hints of the $DISPLAY status. You can always check your environment with &#8220;env&#8221; and &#8220;$&#8221;. On Mac OS X Leopard you use EXPORT with bash shell to set environment variables as opposed to tcsh that uses setenv. You should only set the $DISPLAY variable manually in a secure environment i.e. local network.</p>
<p><strong>NEW! </strong>Do <em>not</em> set the <code style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 1.1em; padding: 0px; margin: 0px;">DISPLAY</code> variable on the client. You will most likely disable encryption. (X connections forwarded through Secure Shell use a special local display setting.)</p>
<p>If you have further problems try to use -v, -vv or even -vvv verbose flag with ssh to debug.</p>
<p><span style="font-family: Monaco, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">X11 Forwarding:<br />
<a href="http://www.ssh.com/support/documentation/online/ssh/adminguide/32/X11_Forwarding.html" target="_blank">X11 Forwarding</a> www.ssh.com<br />
<a href="http://developer.apple.com/opensource/tools/runningx11.html" target="_blank">Configurering and running X11 Applications on Mac OS X</a> developer.apple.com<br />
<a href="http://developer.apple.com/mac/library/qa/qa2001/qa1232.html" target="_blank">X11 FAQ  - Technical Q&amp;A QA1232</a> developer.apple.com<br />
<a href="http://developer.apple.com/mac/library/qa/qa2004/qa1383.html" target="_blank">Technical Q&amp;A QA1383 Enabling X11 Forwarding</a> developer.apple.com<br />
<a href="http://oroborosx.sourceforge.net/remotex.html" target="_blank">Forwarding X11 from a Remote Computer to the Mac</a> oroborosx.sourceforge.net<br />
<a href="http://homepage.mac.com/sao1/X11/index.html#eight" target="_blank">ssh X forwarding debugging</a> mac.com<br />
<a href="http://www.xfree86.org/current/X.7.html#sect4" target="_blank">Display Names</a> xfree86.org</span></span></p>
<p>X11:<br />
<a href="http://en.wikipedia.org/wiki/X_Window_System" target="_blank">X Window System</a> wikipedia.org<br />
<a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html" target="_blank">The X Window</a> System freebsd.org (Introduktion from FreeBSD Handbook)<br />
<a href="http://xquartz.macosforge.org/trac/wiki" target="_blank">XQuartz project</a> xquartz.macosforge.org (X11)</p>
<p><a href="http://manuals.info.apple.com/en_US/Command_Line_Admin_v10.5.pdf" target="_blank">Command-Line Administration</a> Version 10.5 Leopard (PDF) manuals.info.apple.com (Connecting to Remote Computers p. 31 &#8211; 37)<br />
<a href="http://manuals.info.apple.com/en_US/IntroCommandLine_v10.6.pdf" target="_blank">Introduction to Command-Line Administration</a> Version 10.6 Snow Leopard (PDF) manuals.info.apple.com (Connecting to Remote Computers p. 27 &#8211; 33)</p>
<p><span style="font-family: Monaco, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"> </span></span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 512px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Connecting to Remote Computers p. 27 &#8211; 33</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 512px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Introduction to Command-Line Administration Version 10.6 Snow Leopard (PDF) manuals.info.apple.com</div>
<p><a href="http://developer.apple.com/opensource/tools/X11.html" target="_blank">Open Source X11</a> developer.apple.com<br />
<a href="http://www.apple.com/downloads/macosx/unix_open_source/index_sp.html" target="_blank">UNIX &amp; Open Source</a> downloads apple.com</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2009/09/05/how-to-enable-x11-forwarding-with-ssh-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>last.fm &#8211; super cool social music</title>
		<link>http://dyhr.com/2008/09/30/lastfm-super-cool-social-music/</link>
		<comments>http://dyhr.com/2008/09/30/lastfm-super-cool-social-music/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 10:14:30 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=108</guid>
		<description><![CDATA[Last.fm has existed for some time on the Internet as an Internet radio station with lots of cool radio stations for any imaginal taste, but now something super cool as happened to Last.fm. Last.fm as trancended into something entirely new &#8211; a hassle free super cool social music player. Last.fm scrubbles your favorite music from your iTunes or MP3 player (Scrobbling a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.last.fm/" target="_blank">Last.fm</a> has existed for some time on the Internet as an Internet radio station with lots of cool radio stations for any imaginal taste, but now something super cool as happened to <a href="http://www.last.fm/" target="_blank">Last.fm</a>. <a href="http://www.last.fm/" target="_blank">Last.fm</a> as trancended into something entirely new &#8211; a hassle free super cool social music player. <a href="http://www.last.fm/" target="_blank">Last.fm</a> scrubbles your favorite music from your iTunes or MP3 player (Scrobbling a song means that when you listen to it, the name of the song is sent to Last.fm and added to your music profile), learns about your music preferences from you, so you can share and receive preferences from others as you wish. <a href="http://www.last.fm/" target="_blank">Last.fm</a> off curse integrates with your iPod and iPhone. And <a href="http://www.last.fm/" target="_blank">Last.fm</a> integrates Firefox through the fire plugin. The design is simple, strict and slick in red, white and black &#8211; like the designers abc &#8211; exactly the way I like it. </p>
<p>Check it out.. its super cool &#8211; and companies like Apple should learn from, integrate or even buy <a href="http://www.last.fm/" target="_blank">Last.fm</a></p>
<p>Links:<br />
<a href="http://www.last.fm/" target="_blank"> Last.fm</a><br />
<a href="https://addons.mozilla.org/da/firefox/addon/7684" target="_blank">Fire.fm 1.1.3</a> Firefox plugin</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2008/09/30/lastfm-super-cool-social-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s to the crazy ones</title>
		<link>http://dyhr.com/2008/08/13/heres-to-the-crazy-ones/</link>
		<comments>http://dyhr.com/2008/08/13/heres-to-the-crazy-ones/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 21:12:46 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Poetry]]></category>

		<guid isPermaLink="false">http://dyhr.com/?p=92</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GE5yXdAj3Z4&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/GE5yXdAj3Z4&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2008/08/13/heres-to-the-crazy-ones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to My Mac not working on Mac OS X Leopard</title>
		<link>http://dyhr.com/2008/02/22/back-to-my-mac-not-working-on-mac-os-x-leopard/</link>
		<comments>http://dyhr.com/2008/02/22/back-to-my-mac-not-working-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 12:32:21 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://dyhr.com/2008/02/22/back-to-my-mac-not-working-on-mac-os-x-leopard/</guid>
		<description><![CDATA[I am using an Apple PowerBook G4 on the road and I would like to access my Mac computers seamlessly through the .mac technology &#8220;Back to My Mac&#8221; offered in Mac OS X Leopard. This provides easy access to file services and remote control through window sharing from desktop in Finder. The window sharing is [...]]]></description>
			<content:encoded><![CDATA[<p>I am using an Apple PowerBook G4 on the road and I would like to access my Mac computers seamlessly through the .mac technology &#8220;Back to My Mac&#8221; offered in Mac OS X Leopard. This provides easy access to file services and remote control through window sharing from desktop in Finder. The window sharing is similar to the Window Sharing service offered in iChat and that of Apple Remote Access.</p>
<p>The idea and promise from is no less than wonderful. For me this was a main reason reason to buy Mac OS X Leopard from Apple. From now on you do not have to think of domain names, dynamic domain names, bonjour identities, ip numbers, firewalls, security, passwords or even bother to start the service &#8211; it is just there under your fingertips. Or so I thought! Most of the time Back to My Mac works like a charm when on a local network, but as it turns out Back to My Mac only works sometimes on the Internet. If the moon and your lucky star is in conjunction.</p>
<p>I think Apple is very well aware of this fact and is working to solve issues related to Apple technologies. Some issues also involves Apple Remote Desktop. But there are unfortunately  also other factors to be considered. There has been a lot of heated discussion about this topic in the the <a href="http://discussions.apple.com/">Apple Support Discussion Forums</a>. Recently I have experienced that some of the threads oddly has disappeared from the forums.</p>
<p>Even with Mac OS X Leopard 10.5.2 I experience the following persistent problems:</p>
<p>1) Macs are unable to see each other over the Internet through Back to My Mac.<br />
2) Back to My Mac Window Sharing asks unnecessarily for another password in mid session and will not accept the correct password.<br />
3) Back to My Mac Service seems disappear and appear randomly.<br />
4) Back to My Mac sometimes seem to break or interrupt access with Apple Remote Access.</p>
<p>What to do?</p>
<p>Links:<br />
<a href="http://docs.info.apple.com/article.html?artnum=306672" target="_blank">Using Back to My Mac in Mac OS X 10.5 Leopard</a> apple.com<br />
<a href="http://docs.info.apple.com/article.html?artnum=306803" target="_blank">Back to My Mac: Supported router devices (Mac OS X 10.5)</a> apple.com</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2008/02/22/back-to-my-mac-not-working-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mac vs Windows</title>
		<link>http://dyhr.com/2006/12/14/mac-vs-windows/</link>
		<comments>http://dyhr.com/2006/12/14/mac-vs-windows/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 14:06:29 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://dyhr.com/2006/12/14/mac-vs-windows/</guid>
		<description><![CDATA[&#8220;I would buy a Mac if I didn&#8217;t work for Microsoft&#8221; James Allchin, Windows development chief Windows development chief: &#8216;I would buy a Mac if I didn&#8217;t work for Microsoft&#8217; computerworld.com 11. december 2006]]></description>
			<content:encoded><![CDATA[<p>&#8220;I would buy a Mac if I didn&#8217;t work for Microsoft&#8221;</p>
<p>James Allchin, Windows development chief</p>
<p><a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9005873&#038;intsrc=hm_list">Windows development chief: &#8216;I would buy a Mac if I didn&#8217;t work for Microsoft&#8217;</a> computerworld.com 11. december 2006</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2006/12/14/mac-vs-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookpedia for Book Lovers</title>
		<link>http://dyhr.com/2006/08/18/bookpedia-for-book-lovers/</link>
		<comments>http://dyhr.com/2006/08/18/bookpedia-for-book-lovers/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 12:11:49 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://dyhr.com/2006/08/18/bookpedia-for-book-lovers/</guid>
		<description><![CDATA[Bruji have invented a nifty little Mac OS X application to all book lovers, bibliographic maniacs and information perfectionists that easily manages your english book collection. Bookpedia is not the only application around the digital book shelves, but as far as I know its the only one that gets the job done with no fuss. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bruji.com/bookpedia/images/bookpediaLogoLarge.png" align="left">Bruji have invented a nifty little Mac OS X application to all book lovers, bibliographic maniacs and information perfectionists that easily manages your english book collection. Bookpedia is not the only application around the digital book shelves, but as far as I  know its the only one that gets the job done with no fuss. Check it out here: <a href="http://www.bruji.com/bookpedia/index.html"><b>Bookpedia</b></a> bruji.com</p>
]]></content:encoded>
			<wfw:commentRss>http://dyhr.com/2006/08/18/bookpedia-for-book-lovers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
