MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isSSHSession

Function isSSHSession

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

Source from the content-addressed store, hash-verified

306
307// all of these should be immutable
308function isSSHSession(): boolean {
309 return !!(
310 process.env.SSH_CONNECTION ||
311 process.env.SSH_CLIENT ||
312 process.env.SSH_TTY
313 )
314}
315
316export const env = {
317 hasInternetAccess,

Callers 1

detectTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected