Thanks very much to all who answered my questions.  The ssh tunnelling does<br>
work.  Earlier, it was failing for me, but the cause must have been something else.<br>
<br>
I think everyone misinterpreted my second question, however.  The server that runs<br>
swank does not have any files on it.  I suppose I could use tramp to write a file to<br>
the server host, and then load it with a separate Lisp command.  I was thinking there<br>
might be a Slime command that takes a local file, ships it over to the swank machine<br>
and then makes the Lisp there compile or load it.<br>
<br>
Thanks again.<br>
<br>
   bob<br><br><div><span class="gmail_quote">On 10/3/05, <b class="gmail_sendername">Ignas Mikalajunas</b> <<a href="mailto:ignas.mikalajunas@gmail.com">ignas.mikalajunas@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>  1.  The code in swank.lisp listens on port <a href="http://127.0.0.1">127.0.0.1</a>, which means I cannot<br>>  connect to my Lisp server from a remote machine.  I must log in to the host<br>>  it's running on and then specify "localhost" when I execute slime-connect
<br>> in<br>>  Emacs.  If swank is running on host "foo", why doesn't it bind its<br>> listening<br>>  socket with foo's address?<br><br>Well that wold be a huge security hole, you would be running a lisp
<br>process anyone can connect to. You should use SSH forwarding if you<br>want to connect to a remote swank.<br><br>Like:<br> ssh -L 4005:localhost:4005 <a href="http://my-webserver.com">my-webserver.com</a><br><br><br>>  2.  I modified 
swank.lisp so the server code binds its listening connection<br>>  socket with foo's address.  Now I can connect from a remote machine.  Is<br>> there<br><br>Well - now you have a huge security hole on that server ...
<br><br>>  any convenient way to send whole files across the Slime connection?  The<br>>  Lisp running the swank server has no NFS access to the machine I'm running<br>>  Emacs on.  I'd like to be able to edit files on the Emacs side and send
<br>> then<br>>  whole to the Lisp running swank.<br><br>Well without an NFS mount you can do it by using tramp for GNU Emacs<br>or XEmacs, it should allow you editing files on a remote machine that<br>you have ssh access to.
<br>You should set proper:<br>slime-translate-from-lisp-filename-function<br>slime-translate-to-lisp-filename-function<br>So they would convert from tramp filename to the slime relative<br>filename and back.<br><br> Ignas
<br></blockquote></div><br>