<div class="gmail_quote">On Sat, Feb 6, 2010 at 3:57 PM, David-Sarah Hopwood <span dir="ltr">&lt;<a href="mailto:david-sarah@jacaranda.org">david-sarah@jacaranda.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Jody Harris wrote:<br>
&gt; On Sat, Feb 6, 2010 at 2:20 PM, Brian Warner &lt;<a href="mailto:warner@lothar.com">warner@lothar.com</a>&gt; wrote:<br>
&gt;<br>
</div><div class="im">&gt;&gt; In short, if you follow the &quot;Configuring SFTP Access&quot; instructions in<br>
&gt;&gt; the docs, it ought to work for your karmic box without installing<br>
&gt;&gt; anything extra. Did that fail somehow?<br>
&gt;<br>
</div><div class="im">&gt; I&#39;m having a moment of, &quot;Well, why didn&#39;t you say so in the first place?&quot;<br>
&gt;<br>
&gt; For others: SFTP doc is  located in the tarball at<br>
&gt; ~/allmydata-tahoe-1.6.0/docs/frontends/FTP-and-SFTP.txt<br>
&gt;<br>
&gt; Followed instructions (keys and ftp.accounts), restarted tahoe.<br>
&gt;<br>
&gt; port 8022 is present, but I have not yet been able to attach to the port.<br>
&gt;<br>
&gt; &quot;Unknown error<br>
&gt; SFTP command failed for an unknown reason.&quot;<br>
<br>
</div>Sigh, gotta love error messages like that.<br>
<br></blockquote><div>This was from trying to connect with KDE&#39;s Dolphin filemanager using the sftp kioslave....</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


&gt; I probably missed something.<br>
<br>
sftpd.py prints debugging messages on stdout whenever it receives a<br>
request. What did it print, or did it give a traceback? Can you try<br>
clients other than the command-line sftp client?<br><br></blockquote><div>(This is done using v1.6 of tahoe.)</div><div><br></div><div>I did get connected using the sftp command line client.</div><div><br></div><div>{{{ls}}} fails.</div>

<div><br></div><div>{{{mkdir testing}}} created a directory that I can see with {{{tahoe ls}}}.</div><div><br></div><div>.... very interesting....</div><div><br></div><div>I copies a files {{{tahoe cp path/to/file alias:testing/}}}, and was able to do see it with {{{ls testing/}}} in sftp.</div>

<div><br></div><div>I then attached to sftp://localhost:8022/testing with Dolphin, and I can see the file.</div><div><br></div><div>I can copy the file form the sftp-mounted directory to a local directory with Dolphin.</div>

<div><br></div><div>I cannot open the file directly from the sftp-mounted directory because other programs don&#39;t have access to the kioslave.</div><div><br></div><div>So the problem with with the root directory of the alias. Apparently, not all of the information required for ftp/sftp is being passed by tahoe through the ftp/sftp protocol.</div>

<div><br></div><div>At the very least, files can be copied from *some* tahoe directories to the local filesystem.</div><div><br></div><div>....</div><div><br></div><div>Using Nautilus, I can attach to the sftp server. I chose &quot;SSH&quot; as the connection type (this will need to be documented).</div>

<div><br></div><div>In Nautilus, I can double-click on a file, and Eye of the Gnome will open it.... Gimp will open it.</div><div><br></div><div>....</div></div>