On Tuesday, 27 January 2015 02:12:46 UTC-5, Christian Groll wrote: > > Perfect, it works. Thanks a lot! > > I now run a shell in emacs, run a docker container in the shell, and julia > in the container, and I connect to it with M-x ess-remote. However, I also > guess that using emacs tramp should be a better approach, as the ESS manual > says: > > The recommended way to access a statistical program on remote computer is >> to start it with tramp. > > > Do you by any chance know how to ssh into a container? What do I need as > user and host in /ssh:user@host? Do I need to ssh into the container on its > starting, or do I connect to it when it is already running? I didn't find > anything about it. >
Whatever options you use to ssh into the machine in a regular shell should be the same ones that you pass to tramp (it's really emacs's tramp that's doing the ssh connection, so try its manual). It also helps to set up a .ssh/config file, so that you can use "/ssh:remotehost:", where remotehost is an alias in .ssh/config with the right settings.
