<?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>Paul Brunt &#187; Shell Script</title>
	<atom:link href="http://www.paulbrunt.co.uk/tag/shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulbrunt.co.uk</link>
	<description>faster, better; faster, better!</description>
	<lastBuildDate>Sun, 24 Jan 2010 13:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu VNC the Quick and Dirty Way</title>
		<link>http://www.paulbrunt.co.uk/2008/10/30/ubuntu-vnc-the-quick-and-dirty-way/</link>
		<comments>http://www.paulbrunt.co.uk/2008/10/30/ubuntu-vnc-the-quick-and-dirty-way/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:48:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://www.paulbrunt.co.uk/?p=110</guid>
		<description><![CDATA[Why they don&#8217;t have better VNC support built into Ubuntu yet I don&#8217;t know, still it way better then it used to be. In the mean time here is a quick and dirty way to get VNC working from before you login screen.

First off you need to make sure that you have x11vnc installed:
 sudo [...]]]></description>
			<content:encoded><![CDATA[<p>Why they don&#8217;t have better VNC support built into Ubuntu yet I don&#8217;t know, still it way better then it used to be. In the mean time here is a quick and dirty way to get VNC working from before you login screen.<span id="more-110"></span></p>
<ol>
<li>First off you need to make sure that you have x11vnc installed:<br />
<em><small> sudo apt-get install x11vnc</small></em></li>
<li>Now all you need to do is slap in the command to run the VNC server into the file &#8220;/etc/init.d/gdm&#8221;. Locate the start section of the script and just before the &#8220;;;&#8221; add the line:<br />
<em> <small>/usr/bin/x11vnc -safer -forever -nopw -loopbg -auth /var/lib/gdm/:0.Xauth -display :0</small></em></li>
<li>and your done you should now be able to access your Ubuntu with VNC with a login screen.</li>
</ol>
<p>Before any body comments I know you should do it though inetd, but I&#8217;ve often had problems with that in the past so this is just something to allow you access from login with out the hassle of installing and configuring inetd.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulbrunt.co.uk/2008/10/30/ubuntu-vnc-the-quick-and-dirty-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Key Exchange (SSH no password)</title>
		<link>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/</link>
		<comments>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:12:07 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Out and About]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh linux shell]]></category>

		<guid isPermaLink="false">http://www.paulbrunt.co.uk/?p=104</guid>
		<description><![CDATA[I&#8217;m not sure if it was just me being a bit dense or the fact that tutorials on the subject where really confusing, but I&#8217;d always struggled to get this working. So, I thought that now I&#8217;ve cracked it I&#8217;ll do my own little tutorial for others out there that may still be a little [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure if it was just me being a bit dense or the fact that tutorials on the subject where really confusing, but I&#8217;d always struggled to get this working. So, I thought that now I&#8217;ve cracked it I&#8217;ll do my own little tutorial for others out there that may still be a little bit stuck.<span id="more-104"></span></p>
<ol>
<li>The first thing you have to do is generate the keys, this is done on the machine that will be connecting from:<br />
ssh-keygen -t rsa<br />
This will generate the private and public keys need, they will be put in &#8220;~/.ssh/&#8221; by default called &#8220;id_rsa.pub&#8221;(the public key) and &#8220;id_rsa&#8221; the private key.</li>
<li>Now you need to copy this public key, &#8220;id_rsa.pub&#8221;, to the machine you will be connecting to, choose what ever method your comfortable with, ssh, ftp, smb &#8211; what ever <img src='http://www.paulbrunt.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>Now all you need to do is add this key to the file &#8220;~/.ssh/authorized_keys2&#8243;, the easist way is:<br />
cat id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys2<br />
Then your done, you should no longer be prompted for a password when connecting.</li>
</ol>
<p>Note: if this is the first time you are connecting it will still prompt you to add the machine to known hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
