Connecting to cache instance (csession) remotely

481 Views Asked by At

Is there a way to connect to cache instance (csession) remotely?

Let's say the intersystems is on a container, and I want to use csession on the remote server from my local machine, is there a way (without direct ssh) to run the cache instance?

I'm looking for an alternative way of these steps:

1- scp the cache script into the box

2- ssh into the box

3- run the csesion on the box

Any comments is really appreciated

2

There are 2 best solutions below

0
On

You might consider using https://intersystems-ru.github.io/webterminal/.

That is "web-based terminal for InterSystems Caché".

0
On

You could use telnet (encrypted) But this wouldn't allow you to load scripts local to your machine.

One way would be to have your scripts in a git repository and add the loading of them into your instance as post-receive hook.