common-lisp Working with SLIME Setting up a SWANK server over a SSH tunnel.


Example

  1. Install a Common Lisp implementation on the server. (E.g. sbcl, clisp, etc...)
  2. Install quicklisp on the server.
  3. Load SWANK with (ql:quickload :swank)
  4. Start the server with (swank:create-server). The default port is 4005.
  5. [On your local machine] Create a SSH tunnel with ssh -L4005:127.0.0.1:4005 [remote machine]
  6. Connect to the running remote swank server with M-x slime-connect. The host should be 127.0.0.1 and the port 4005.