Skip to content

Commit d28ccbd

Browse files
Document disallowing remote console (#42)
* Document disallowing remote console * Update Tools.md --------- Co-authored-by: Freddie Akeroyd <[email protected]>
1 parent 8c25bf8 commit d28ccbd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/Tools.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ The IOCs available can be listed using
3333
console -M localhost -x
3434
```
3535

36-
To look at an IOC remotely
36+
To look at an IOC remotely, use SSH:
3737

3838
```
39-
console -M [MACHINE_NAME] -l [USERNAME] [IOCNAME]
39+
ssh [USERNAME]@[MACHINE] "c:\instrument\apps\epics\config_env.bat && console -M localhost [IOCNAME]"
4040
```
41-
42-
where username is the local user on the instrument PC (e.g. `spudulike`).
41+
or
42+
```
43+
ssh [USERNAME]@[MACHINE] "c:\instrument\apps\epics\scripts\console -M localhost [IOCNAME]"
44+
```
45+
where `USERNAME` is the local user on the instrument PC (e.g. `spudulike`). As the second version does
46+
not run `config_env` it starts quicker but does not return to an epics term when you exit console
4347

4448
Key combos in the console:
4549

0 commit comments

Comments
 (0)