<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6162966109342239965.post120191327406051169..comments</id><updated>2011-05-11T08:47:40.586-07:00</updated><category term='facebook'/><category term='ict4d'/><category term='israel'/><category term='international development'/><category term='ubuntu ipod virtualbox usb'/><category term='farmville'/><title type='text'>Comments on Hacktivate: ssh all the time</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.vdomck.org/feeds/120191327406051169/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html'/><author><name>mikeymckay</name><uri>http://www.blogger.com/profile/03744581201795841624</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_6UAcxaHg4vw/Ssy7Lr1yU9I/AAAAAAAAAMA/v2DXp_p1v6g/S220/NewMikeHeadshot.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-842240476552989851</id><published>2011-05-11T03:07:18.101-07:00</published><updated>2011-05-11T03:07:18.101-07:00</updated><title type='text'>Hi,  

The command works well, but since the machi...</title><content type='html'>Hi,  &lt;br /&gt;&lt;br /&gt;The command works well, but since the machine I use to ssh into is shared, I would like ssh to use a passphase.  Of course I don&amp;#39;t know because autossh forks at startup, which means it cannot read a passphase from the stdin.  &lt;br /&gt;&lt;br /&gt;Is there some method to get it to read the passphase from a file for example, or initially from stdin and then cache is somewhere for when it has to re-establish the tunnel?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/842240476552989851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/842240476552989851'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1305108438101#c842240476552989851' title=''/><author><name>M</name><uri>http://www.blogger.com/profile/02207980670712871308</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1434893418'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-2685019841907153043</id><published>2011-03-17T13:20:05.096-07:00</published><updated>2011-03-17T13:20:05.096-07:00</updated><title type='text'>thanks for the prompt reply... i just thought that...</title><content type='html'>thanks for the prompt reply... i just thought that when the local computer powers down, it rips apart the tunnel and the middleman should stop listening on the 11829 port right away. is there anything we can put in the script that kills the listening socket on the middleman?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/2685019841907153043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/2685019841907153043'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1300393205096#c2685019841907153043' title=''/><author><name>Sharad's Blog</name><uri>http://www.blogger.com/profile/00158892702619515301</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1052123181'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-4997574786548074509</id><published>2011-03-17T12:37:51.862-07:00</published><updated>2011-03-17T12:37:51.862-07:00</updated><title type='text'>@Sharad all I can figure is that the middleman is ...</title><content type='html'>@Sharad all I can figure is that the middleman is waiting for your local computer to come back online. This is a total guess, but perhaps when the machine recovers and doesn&amp;#39;t respond appropriately to the ssh connection then the middleman knows to close the connection. At any rate... glad it helped!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/4997574786548074509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/4997574786548074509'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1300390671862#c4997574786548074509' title=''/><author><name>mikeymckay</name><uri>http://www.blogger.com/profile/03744581201795841624</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_6UAcxaHg4vw/Ssy7Lr1yU9I/AAAAAAAAAMA/v2DXp_p1v6g/S220/NewMikeHeadshot.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-982026121'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-5459242963255035082</id><published>2011-03-17T12:31:52.681-07:00</published><updated>2011-03-17T12:31:52.681-07:00</updated><title type='text'>hi, first, great script. secondly, a netstat on th...</title><content type='html'>hi, first, great script. secondly, a netstat on the middleman did show that the middleman was listening on port 11829. However, after i shutdown my local computer (the computer this script runs on), netstat reveals that the middleman is still listening on port 11829 (of course I can&amp;#39;t connect to it anymore cuz the tunnel is destroyed). Why? And then when i turn back on the local computer, then the middleman suddenly stops listening on 11829. Thanks for ur insight and wisdom :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/5459242963255035082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/5459242963255035082'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1300390312681#c5459242963255035082' title=''/><author><name>Sharad's Blog</name><uri>http://www.blogger.com/profile/00158892702619515301</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1052123181'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-6451088656077311518</id><published>2010-10-16T10:45:22.746-07:00</published><updated>2010-10-16T10:45:22.746-07:00</updated><title type='text'>Hi,
thanks for sharing your script. I adapted it a...</title><content type='html'>Hi,&lt;br /&gt;thanks for sharing your script. I adapted it a bit because I dont run SSH on Port 22 in my hostmachine.&lt;br /&gt;&lt;br /&gt;You can find a diff in my Wiki:&lt;br /&gt;http://wiki.host-consultants.de/doku.php?id=linux:reversessh#diff</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/6451088656077311518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/6451088656077311518'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1287251122746#c6451088656077311518' title=''/><author><name>Felix Bartels</name><uri>http://www.blogger.com/profile/05018199179034018083</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-170690339'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-8673749236846434169</id><published>2010-07-28T10:08:49.346-07:00</published><updated>2010-07-28T10:08:49.346-07:00</updated><title type='text'>@mickeymckay
Good post, thanks for helping me out ...</title><content type='html'>@mickeymckay&lt;br /&gt;Good post, thanks for helping me out with that.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/8673749236846434169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/8673749236846434169'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1280336929346#c8673749236846434169' title=''/><author><name>Johnneylee</name><uri>http://www.blogger.com/profile/02973981648966590001</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-847024306'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-4751142031930063549</id><published>2010-01-20T08:30:41.837-08:00</published><updated>2010-01-20T08:30:41.837-08:00</updated><title type='text'>@Johnneylee - when autossh connects to the middle ...</title><content type='html'>@Johnneylee - when autossh connects to the middle man it chooses an arbitrary port to listen on:&lt;br /&gt;&lt;br /&gt;PORT_MIDDLEMAN_WILL_LISTEN_ON=11829&lt;br /&gt;&lt;br /&gt;Now when you ssh to the middleman on that port, the middleman will redirect you to whichever computer setup that port.&lt;br /&gt;&lt;br /&gt;It is this port that determines which computer will be logged into via the middleman.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/4751142031930063549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/4751142031930063549'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1264005041837#c4751142031930063549' title=''/><author><name>mikeymckay</name><uri>http://www.blogger.com/profile/03744581201795841624</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_6UAcxaHg4vw/Ssy7Lr1yU9I/AAAAAAAAAMA/v2DXp_p1v6g/S220/NewMikeHeadshot.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-982026121'/></entry><entry><id>tag:blogger.com,1999:blog-6162966109342239965.post-3682411393542112822</id><published>2010-01-20T08:19:55.276-08:00</published><updated>2010-01-20T08:19:55.276-08:00</updated><title type='text'>How does one choose which computer to log into thr...</title><content type='html'>How does one choose which computer to log into through the middle man?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/3682411393542112822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6162966109342239965/120191327406051169/comments/default/3682411393542112822'/><link rel='alternate' type='text/html' href='http://www.vdomck.org/2009/11/ssh-all-time.html?showComment=1264004395276#c3682411393542112822' title=''/><author><name>Johnneylee</name><uri>http://www.blogger.com/profile/02973981648966590001</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vdomck.org/2009/11/ssh-all-time.html' ref='tag:blogger.com,1999:blog-6162966109342239965.post-120191327406051169' source='http://www.blogger.com/feeds/6162966109342239965/posts/default/120191327406051169' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-847024306'/></entry></feed>
