2
$\begingroup$

The manual explains how you should close the connection if opened with

remote = RemoteConnect["host.example.com"]

with

DeleteObject[remote]

But what if I did not name it or have forgotten/lost the name? How do I find open connections created with RemoteConnect?

$\endgroup$

1 Answer 1

1
$\begingroup$

Odd that there's no RemoteConnections[] function like there is Processes[], Streams[], Links[], etc.

But I knew there had to be a way to check the thing was valid in the FE and from the FormatValues it seems you want to check SecureShellLink`Private`$RemoteUUIDTable.

No way to test it on my end since RemoteConnect doesn't support custom ports or anything, but you can give it a try.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.