You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To programmatically pass a command to the remote julia kernel use [`remotecmd`](@ref). For example:
123
+
124
+
```julia
125
+
julia> con2server =connect_remote(Sockets.localhost, 9093) # connect to port 9093 in localhost
126
+
127
+
julia>remotecmd(con2server, "myvar = 1") # define a new var
128
+
```
129
+
110
130
## Use alternatives to SSH
111
131
112
132
### AWS Session Manager
@@ -128,6 +148,53 @@ connect_remote();
128
148
```
129
149
which will allow you to use `@remote` without the REPL mode.
130
150
151
+
### More on Pluto
152
+
Pluto presents a peculiarity as the default module is constantly changing.
153
+
In order to closely track the newest notebook state, you will need to tap into the client's session and update the module.
154
+
You could write the following code in the pluto notebook that updates the module every second (if you have a better event-driven update solution, please raise an issue!).
Since the session's module is being regularly updated by the Pluto notebook, your REPL will be in sync with the notebook's state.
196
+
197
+
131
198
## Troubleshooting connection issues
132
199
Sometimes errors will be encountered. This section aims to show some errors experienced by users, and what the underlying problem was. We will use some terms in this section, introduced in the table below.
133
200
|Term|Explanation|
@@ -153,3 +220,4 @@ any group or other users. On a linux system, this is accomplished by running the
153
220
chmod go-w /home/username/.ssh/*
154
221
```
155
222
If you are using a different operating system, please google how to remove write permissions on files, and try to do the same thing.
0 commit comments