connect to remote common lisp repl with sly/slime
assuming
sbcl
is installed on the destination server and the one to be used
- start by installing quicklisp on the server
- start the sbcl repl
- install slynkswank for slyslime, respectively,
(ql:quickload :slynk)
- start the server with
(slynk:create-server)
, the default port is 4005 - create an ssh tunnel from local machine to remote machine using
ssh -L4005:localhost:4005 <remote-machine-address>
- connect from the local emacs instance to the remote common lisp swank instance using
M-x sly-connect
, with the destination being the server and the port being 4005
- lang.lisp.narkive.com
sbcl --eval '(ql:quickload :slynk)' --eval '(slynk:create-server)'