<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rough Book &#187; ssh</title>
	<atom:link href="http://vivin.net/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://vivin.net</link>
	<description>random musings of just another computer nerd</description>
	<lastBuildDate>Wed, 02 May 2012 18:20:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>GitHub broke my scp</title>
		<link>http://vivin.net/2010/03/09/github-broke-my-scp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vivin.net/2010/03/09/github-broke-my-scp/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:44:08 +0000</pubDate>
		<dc:creator>vivin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://vivin.net/?p=1466</guid>
		<description><![CDATA[I set up git on my FreeBSD box so that I can commit my code to GitHub. Today I tried to scp some stuff over and I was met with this rather unhelpful message: vivin@serenity ~/Projects/code $ scp -r vivin@www.vivin.net:~/code/agnostic . Password: ps: Process environment requires procfs(5) Initializing new SSH agent... vivin@serenity ~/Projects/code $ I [...]]]></description>
			<content:encoded><![CDATA[<p>I set up <a href="http://en.wikipedia.org/wiki/Git_%28software%29">git</a> on my FreeBSD box so that I can commit my code to <a href="http://github.com/">GitHub</a>. Today I tried to scp some stuff over and I was met with this rather unhelpful message:</p>
<pre>
vivin@serenity ~/Projects/code
$ scp -r vivin@www.vivin.net:~/code/agnostic .
Password:
ps: Process environment requires procfs(5)
Initializing new SSH agent...

vivin@serenity ~/Projects/code
$
</pre>
<p>I fixed the procfs problem by adding the following to my <em>/etc/fstab</em>:</p>
<pre class="brush: php">
proc                    /proc           procfs  rw              0       0
linproc                 /compat/linux/proc      linprocfs       rw      0       0
</pre>
<p>and then running:</p>
<pre>
vivin@enterprise ~
$ sudo mount /compat/linux/proc

vivin@enterprise ~
$ sudo mount /proc
</pre>
<p>So I try to scp again and I get:</p>
<pre>
vivin@serenity ~/Projects/code
$ scp -r vivin@www.vivin.net:~/code/agnostic .
Password:
Initializing new SSH agent...

vivin@serenity ~/Projects/code
$
</pre>
<p>WTF? Then I remembered making some changes to my <em>.bashrc</em> to be able to commit to github:</p>
<pre class="brush: php">
function start_agent {
  echo &quot;Initializing new SSH agent...&quot;
  /usr/bin/ssh-agent | sed &#039;s/^echo/#echo/&#039; &gt; &quot;${SSH_ENV}&quot;
  echo succeeded
  chmod 600 &quot;${SSH_ENV}&quot;
  . &quot;${SSH_ENV}&quot; &gt; /dev/null
  /usr/bin/ssh-add;
}

# Source SSH settings, if applicable
if [ -f &quot;${SSH_ENV}&quot; ]; then
  . &quot;${SSH_ENV}&quot; &gt; /dev/null
  #ps ${SSH_AGENT_PID} doesn&#039;t work under cywgin
  ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ &gt; /dev/null || {
    start_agent;
  }
else
  start_agent;
fi
</pre>
<p>I pulled all that out of my <em>.bashrc</em> and made a separate shell script for it. After I did that, scp started working again. I had no idea that calling scp would actually run <em>.bashrc</em></p>
<br /><a href="http://vivin.net/?p=1466#comments" title="Comments on &quot;GitHub broke my scp&quot;"><img src="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?1466" alt="Comments" /></a><img src="http://vivin.net/?ak_action=api_record_view&#38;id=1466&#38;type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://vivin.net/2010/03/09/github-broke-my-scp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?1466" />
		<media:content url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?1466" medium="image">
			<media:title type="html">Comments</media:title>
		</media:content>
		<media:content url="http://vivin.net/?ak_action=api_record_view&#38;id=1466&#38;type=feed" medium="image" />
	</item>
		<item>
		<title>Gets Even Better</title>
		<link>http://vivin.net/2002/06/29/gets-even-better/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vivin.net/2002/06/29/gets-even-better/#comments</comments>
		<pubDate>Sun, 30 Jun 2002 02:41:22 +0000</pubDate>
		<dc:creator>vivin</dc:creator>
				<category><![CDATA[AIT]]></category>
		<category><![CDATA[Army]]></category>
		<category><![CDATA[Military]]></category>
		<category><![CDATA[ait]]></category>
		<category><![CDATA[army]]></category>
		<category><![CDATA[army national guard]]></category>
		<category><![CDATA[fort lee]]></category>
		<category><![CDATA[java ssh client]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://vivin.net/?p=62</guid>
		<description><![CDATA[It runs Applets!!! I can use the SSH Applet!! WOOHOOOOOO!!!]]></description>
			<content:encoded><![CDATA[<p>It runs Applets!!! I can use the SSH Applet!! WOOHOOOOOO!!!</p>
<br /><a href="http://vivin.net/?p=62#comments" title="Comments on &quot;Gets Even Better&quot;"><img src="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?62" alt="Comments" /></a><img src="http://vivin.net/?ak_action=api_record_view&#38;id=62&#38;type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://vivin.net/2002/06/29/gets-even-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?62" />
		<media:content url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?62" medium="image">
			<media:title type="html">Comments</media:title>
		</media:content>
		<media:content url="http://vivin.net/?ak_action=api_record_view&#38;id=62&#38;type=feed" medium="image" />
	</item>
		<item>
		<title>Some more stuff from</title>
		<link>http://vivin.net/2002/06/23/some-more-stuff-from/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vivin.net/2002/06/23/some-more-stuff-from/#comments</comments>
		<pubDate>Sun, 23 Jun 2002 18:31:11 +0000</pubDate>
		<dc:creator>vivin</dc:creator>
				<category><![CDATA[AIT]]></category>
		<category><![CDATA[Army]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Military]]></category>
		<category><![CDATA[ait]]></category>
		<category><![CDATA[army]]></category>
		<category><![CDATA[army national guard]]></category>
		<category><![CDATA[fort lee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java ssh client]]></category>
		<category><![CDATA[mindterm]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://vivin.net/?p=59</guid>
		<description><![CDATA[What&#8217;s going on? Sorry for this spree of Journal Entries. I haven&#8217;t used a computer in over 3 weeks and I was having withdrawal symptoms &#8211; and now that I have access to one (with the bare minimum of utilities) I&#8217;m a little hyper. By the way, here&#8217;s a link to the Java SSH Client [...]]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s going on? Sorry for this spree of Journal Entries. I haven&#8217;t used a computer in over 3 weeks and I was having withdrawal symptoms &#8211; and now that I have access to one (with the bare minimum of utilities) I&#8217;m a little hyper. By the way, here&#8217;s a link to the <a target = "_blank" href = "http://newweb.ticam.utexas.edu/mindterm/iessh.html">Java SSH Client</a> that I mentioned. It&#8217;s pretty neat. I was able to fix my page from here.</p>
<p>How are things here&#8230; hmm&#8230; HARD. As luck would have it, I&#8217;m in a really hard company &#8211; G Company and they&#8217;re BIG on PT (Physical Training). To give you an example, last Wednesday we did a 4 mile company run in 100+F and 60% Humidity. Yeah, so I&#8217;m getting my ass kicked. But I haven&#8217;t fallen out of any runs yet. And I&#8217;m not going to either.</p>
<p>That&#8217;s pretty much it. Classes are boring ass hell &#8211; all about filling out forms. It&#8217;s easy but BORING. I keep nodding off. Must stop doing that! But other than that, its just all about getting used to the routine. I&#8217;m pretty sure I can do it. It&#8217;s definitely easier than Basic Training. You have a lot more freedom, but you have to be responsible too.</p>
<p>Well that&#8217;s pretty much it. I might be here next week. See y&#8217;all then!</p>
<br /><a href="http://vivin.net/?p=59#comments" title="Comments on &quot;Some more stuff from&quot;"><img src="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?59" alt="Comments" /></a><img src="http://vivin.net/?ak_action=api_record_view&#38;id=59&#38;type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://vivin.net/2002/06/23/some-more-stuff-from/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?59" />
		<media:content url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?59" medium="image">
			<media:title type="html">Comments</media:title>
		</media:content>
		<media:content url="http://vivin.net/?ak_action=api_record_view&#38;id=59&#38;type=feed" medium="image" />
	</item>
		<item>
		<title>Java SSH Client</title>
		<link>http://vivin.net/2002/06/22/java-ssh-client/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://vivin.net/2002/06/22/java-ssh-client/#comments</comments>
		<pubDate>Sun, 23 Jun 2002 01:14:16 +0000</pubDate>
		<dc:creator>vivin</dc:creator>
				<category><![CDATA[AIT]]></category>
		<category><![CDATA[Army]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Military]]></category>
		<category><![CDATA[ait]]></category>
		<category><![CDATA[army]]></category>
		<category><![CDATA[army national guard]]></category>
		<category><![CDATA[fort lee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java ssh client]]></category>
		<category><![CDATA[mindterm]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://vivin.net/?p=58</guid>
		<description><![CDATA[Don&#8217;t worry about the journal entry. I fixed it! I&#8217;m just sooo good. Check out MindTerm . It&#8217;s a Java SSH Client Applet for IE. It&#8217;s real good! I used that to get to the database&#8230; cool huh?? See you all next week!]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t worry about the journal entry. I fixed it! I&#8217;m just sooo good. Check out MindTerm <img src='http://vivin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . It&#8217;s a Java SSH Client Applet for IE. It&#8217;s real good! I used that to get to the database&#8230; cool huh??</p>
<p>See you all next week!</p>
<br /><a href="http://vivin.net/?p=58#comments" title="Comments on &quot;Java SSH Client&quot;"><img src="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?58" alt="Comments" /></a><img src="http://vivin.net/?ak_action=api_record_view&#38;id=58&#38;type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://vivin.net/2002/06/22/java-ssh-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?58" />
		<media:content url="http://vivin.net/wp-content/plugins/feed-comments-number/image.php?58" medium="image">
			<media:title type="html">Comments</media:title>
		</media:content>
		<media:content url="http://vivin.net/?ak_action=api_record_view&#38;id=58&#38;type=feed" medium="image" />
	</item>
	</channel>
</rss>

