<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: iPhone SSH</title>
	<link>http://ask.metafilter.com/70318/iPhone-SSH/</link>
	<description>Comments on Ask MetaFilter post iPhone SSH</description>
	<pubDate>Tue, 28 Aug 2007 15:12:41 -0800</pubDate>
	<lastBuildDate>Tue, 28 Aug 2007 15:12:41 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: iPhone SSH</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH</link>	
		<description>After installing OpenSSH on your iPhone, is there a way to disable it except when needed? &lt;br /&gt;&lt;br /&gt; In order to easily put files on my iPhone, I installed the BSD subsystem, ssh, and a terminal.  Of course, I changed the root password.  But I find it strange that I can log on to the iPhone through ssh all the time, not just when I have launched the terminal and run ssh in some way.  Is there a way to turn off the ssh service except when needed?  I am bothered by the security and possible battery life implications.  Or am I misunderstanding what is going on?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.70318</guid>
		<pubDate>Tue, 28 Aug 2007 14:34:34 -0800</pubDate>
		<dc:creator>yesno</dc:creator>
		
			<category>iPhone</category>
		
			<category>Apple</category>
		
			<category>Mac</category>
		
			<category>Phone</category>
		
			<category>Unix</category>
		
			<category>Software</category>
		
			<category>SSH</category>
		
			<category>Computer</category>
		
	</item> <item>
		<title>By: rhizome</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049076</link>	
		<description>You&apos;re going to have to add some more detail, namely what you mean by &quot;log on to the iPhone&quot; and &quot;just when I have launched the terminal.&quot; Are you talking about two separate environments?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049076</guid>
		<pubDate>Tue, 28 Aug 2007 15:12:41 -0800</pubDate>
		<dc:creator>rhizome</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049094</link>	
		<description>(i assume they want the bsd equivalent of &quot;chkconfig -d sshd&quot;)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049094</guid>
		<pubDate>Tue, 28 Aug 2007 15:35:33 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049096</link>	
		<description>and if i google that the answer is &lt;a href=&quot;http://www.cyberciti.biz/faq/chkconfig-on-freebsd-to-start-services-automatically-initial-boot-time/&quot;&gt;here&lt;/a&gt; - just change the &quot;yes&quot; to &quot;no&quot;, i assume.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049096</guid>
		<pubDate>Tue, 28 Aug 2007 15:36:51 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049100</link>	
		<description>is that clear?  you want to follow those instructions except use sshd_enable=&quot;NO&quot;.  disclaimer: i have no idea if this also applies to iphones.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049100</guid>
		<pubDate>Tue, 28 Aug 2007 15:38:22 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049103</link>	
		<description>battery life implications, incidentally, are unlikely to be important.  if you are worried about security you may want to configure sshd to only allow certain users, etc.  &lt;a href=&quot;http://www.governmentsecurity.org/archive/t6051.html&quot;&gt;example config&lt;/a&gt;.  i&apos;ll shut up now...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049103</guid>
		<pubDate>Tue, 28 Aug 2007 15:42:09 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: mrg</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049108</link>	
		<description>OpenSSH on the iPhone wouldn&apos;t be much different from OpenSSH anywhere else - there&apos;s a daemon called sshd that deals with incoming ssh connections. you could always chmod -x it (on my Mac, it&apos;s in /usr/sbin but might be elsewhere) and reboot. then chmod +x and reboot to re-enable. it&apos;ll also put a script somewhere to automatically start it on boot; you could always just do chmod -x on it and then run it manually (/bin/bash whatever-the-script-is-called start, probably) when needed.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049108</guid>
		<pubDate>Tue, 28 Aug 2007 15:46:29 -0800</pubDate>
		<dc:creator>mrg</dc:creator>
	</item><item>
		<title>By: Good Brain</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049129</link>	
		<description>The iPhone doesn&apos;t have a typical init.d setup.  &lt;br&gt;
&lt;br&gt;
I think this file is controlling the launch of sshd: /Library/LaunchDaemons/com.openssh.sshd.plist</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049129</guid>
		<pubDate>Tue, 28 Aug 2007 16:03:09 -0800</pubDate>
		<dc:creator>Good Brain</dc:creator>
	</item><item>
		<title>By: Good Brain</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049134</link>	
		<description>Yeah, it uses launchd, which seems to be assuming an inetd/xinetd-like role in this case.  I think maybe just moving or getting rid of the sshd plist will take care of the issue</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049134</guid>
		<pubDate>Tue, 28 Aug 2007 16:08:55 -0800</pubDate>
		<dc:creator>Good Brain</dc:creator>
	</item><item>
		<title>By: evariste</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049196</link>	
		<description>The plist that ships with OpenSSH for iPhone specifies it as an &quot;on-demand&quot; launchd service, meaning it runs when someone tries to contact the correct port. You can see it in /Library/LaunchDaemons/com.openssh.sshd.plist. So it isn&apos;t sitting there draining your battery all day, and I wouldn&apos;t worry about this, beyond of course changing the passwords on the root and mobile accounts.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049196</guid>
		<pubDate>Tue, 28 Aug 2007 16:56:23 -0800</pubDate>
		<dc:creator>evariste</dc:creator>
	</item><item>
		<title>By: yesno</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049253</link>	
		<description>@rhizone&lt;br&gt;
&lt;br&gt;
What it means is, you can log into the iPhone remotely through ssh.  Launching the terminal means running a terminal emulator directly on the iPhone.&lt;br&gt;
&lt;br&gt;
@evariste&lt;br&gt;
&lt;br&gt;
Ok, thank you for the information and piece of mind.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049253</guid>
		<pubDate>Tue, 28 Aug 2007 17:48:26 -0800</pubDate>
		<dc:creator>yesno</dc:creator>
	</item><item>
		<title>By: yesno</title>
		<link>http://ask.metafilter.com/70318/iPhone-SSH#1049303</link>	
		<description>Update:  I confirmed evariste&apos;s information by running &quot;top&quot; on the vt-100 emulator on the iPhone and seeing that ssh would only start up when I made a connection from my computer.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.70318-1049303</guid>
		<pubDate>Tue, 28 Aug 2007 18:30:08 -0800</pubDate>
		<dc:creator>yesno</dc:creator>
	</item>
	</channel>
</rss>
