Fwd: Re: [core-server] how i connect from a local emacs to core-server remote, slime over ssh

3 views
Skip to first unread message

evri...@core.gen.tr

unread,
Aug 17, 2009, 3:16:28 PM8/17/09
to core-...@googlegroups.com

On Mon, 17 Aug 2009 11:32:24 -0700 (PDT), salva <salva...@gmail.com>
wrote:
> how i connect from a local emacs to core-server remote, slime over
> ssh, thanks

Hi Salva,

Ssh is a very fine tool for port forwarding. Core Server Slime REPL server
usually listens 127.0.0.1:4005 which is stated in
~/core-server/etc/start.lisp.

(FUNCALL (FIND-SYMBOL "CREATE-SERVER" (FIND-PACKAGE 'SWANK)) :PORT 4005
:DONT-CLOSE T)

which should be read as:

(swank::create-server :port 4005 :dont-close t)


This link
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Port_Forwarding.html
discusses ssh port forwarding.

ssh -L 4005:localhost:4005 user...@core-server.net

command will make all connections to your local 4005 forwarded to remote
boxes' 4005. So you can connect via
M-x slime-connect
Host: 127.0.0.1
Port:4005

Evrim.

Reply all
Reply to author
Forward
0 new messages