MCPcopy Create free account
hub / github.com/Noumena-Network/code / isSSHSession

Function isSSHSession

src/utils/env.ts:299–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297
298// all of these should be immutable
299function isSSHSession(): boolean {
300 return !!(
301 process.env.SSH_CONNECTION ||
302 process.env.SSH_CLIENT ||
303 process.env.SSH_TTY
304 )
305}
306
307export const env = {
308 hasInternetAccess,

Callers 1

detectTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected