Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliyahZombie/OctSSH
/ functions
Functions
202 in github.com/AliyahZombie/OctSSH
⨍
Functions
202
◇
Types & classes
4
↓ 1 callers
Function
buildShellArgv
(params: { shell: LocalShellSpec; command: string; shellArgs?: string[]; })
src/local/shell.ts:83
↓ 1 callers
Function
buildWrapperFile
(params: { sessionId: string; sudo: boolean })
src/ssh/asyncScreen.ts:30
↓ 1 callers
Function
cancelTransfer
(sessionId: string)
src/transfer/manager.ts:42
↓ 1 callers
Function
clientEnvVars
()
src/envManager/protocol.ts:33
↓ 1 callers
Function
connectViaProxyJump
(params: { jumpClient: JumpClientLike; targetHost: string; targetPort: number; connectTarget: (sock: D
src/ssh/proxyJump.ts:50
↓ 1 callers
Function
createOctsshServer
()
src/mcp/server.ts:77
↓ 1 callers
Function
detectSubcommand
(args: string[])
src/envManager/protocol.ts:61
↓ 1 callers
Function
ensureDir
(p: string)
src/transfer/manager.ts:20
↓ 1 callers
Function
ensureDirSync
(dirPath: string)
src/state/fs.ts:4
↓ 1 callers
Function
ensureLocalCleanupStarted
()
src/mcp/localServer.ts:57
↓ 1 callers
Method
evictIfNeeded
()
src/ssh/connectionPool.ts:82
↓ 1 callers
Function
expandHome
(p: string)
src/ssh/connect.ts:28
↓ 1 callers
Function
expandIncludePattern
(pattern: string, baseDir: string)
src/ssh/config/hosts.ts:20
↓ 1 callers
Function
expandIncludePattern
(pattern: string, baseDir: string)
src/ssh/config/resolve.ts:49
↓ 1 callers
Function
extractRmTargets
(command: string)
src/security/policy.ts:105
↓ 1 callers
Function
extractRmTargets
(command: string)
src/security/localPolicy.ts:84
↓ 1 callers
Method
generateEventId
(streamId: string)
src/mcp/httpServe.ts:19
↓ 1 callers
Function
getAuthHeader
(req: http.IncomingMessage)
src/mcp/httpServe.ts:98
↓ 1 callers
Function
getBearer
(req: http.IncomingMessage)
src/mcp/httpServe.ts:106
↓ 1 callers
Function
getEnvManagerProtocolDoc
(args: string[])
src/envManager/protocol.ts:74
↓ 1 callers
Function
getPendingDir
(baseDir?: string)
src/state/pending.ts:39
↓ 1 callers
Function
getRemoteHome
(client: Client)
src/security/policy.ts:46
↓ 1 callers
Function
getRemoteHome
(client: Client)
src/transfer/remotePath.ts:7
↓ 1 callers
Function
getSessionsDir
(baseDir?: string)
src/state/sessions.ts:89
↓ 1 callers
Function
getSftp
(client: Client)
src/ssh/sftp.ts:5
↓ 1 callers
Method
getStreamIdFromEventId
(eventId: string)
src/mcp/httpServe.ts:23
↓ 1 callers
Function
getStructured
(toolResult)
scripts/transfer-remote-smoke.cjs:14
↓ 1 callers
Function
getTransferLogsDir
(baseDir = getOctsshDir())
src/transfer/manager.ts:24
↓ 1 callers
Function
hasEnvManagerProtocolFlag
(args: string[])
src/envManager/protocol.ts:70
↓ 1 callers
Function
hostMatchesPatterns
(host: string, patterns: string[])
src/ssh/config/resolve.ts:32
↓ 1 callers
Function
initEnvVars
()
src/envManager/protocol.ts:41
↓ 1 callers
Function
isClearlyDangerousRootDelete
(targets: string[])
src/security/policy.ts:140
↓ 1 callers
Function
isClearlyDangerousRootDelete
(targets: string[])
src/security/localPolicy.ts:112
↓ 1 callers
Function
isConcreteHostAlias
(token: string)
src/ssh/config/hosts.ts:12
↓ 1 callers
Function
isDir
(stat: any)
src/transfer/download.ts:13
↓ 1 callers
Function
isFile
(stat: any)
src/transfer/download.ts:21
↓ 1 callers
Function
isFile
(attrs: any)
src/transfer/remoteWalk.ts:20
↓ 1 callers
Function
isRecursiveRm
(command: string)
src/security/policy.ts:125
↓ 1 callers
Function
isRecursiveRm
(command: string)
src/security/localPolicy.ts:99
↓ 1 callers
Function
isSudoInvocation
(command: string)
src/security/policy.ts:100
↓ 1 callers
Function
isSudoInvocation
(command: string)
src/security/localPolicy.ts:80
↓ 1 callers
Function
isSudoPasswordError
(stderr: string)
src/ssh/shell.ts:16
↓ 1 callers
Function
listSessionIds
(baseDir: string)
src/state/cleanup.ts:5
↓ 1 callers
Function
main
()
src/index.ts:11
↓ 1 callers
Function
main
()
src/local/asyncWrapper.ts:71
↓ 1 callers
Function
main
()
scripts/transfer-remote-smoke.cjs:46
↓ 1 callers
Function
main
()
scripts/mcp-smoke.cjs:4
↓ 1 callers
Function
matchesExecutable
(command: string, exe: string)
src/security/policy.ts:84
↓ 1 callers
Function
matchesExecutable
(command: string, exe: string)
src/security/localPolicy.ts:74
↓ 1 callers
Function
normalizeShellEnv
(raw: string | undefined)
src/local/shell.ts:11
↓ 1 callers
Function
normalizeToolPrefix
(raw: string | undefined)
src/mcp/localServer.ts:45
↓ 1 callers
Function
normalizeToolPrefix
(raw: string | undefined)
src/mcp/server.ts:71
↓ 1 callers
Function
notFound
(res: http.ServerResponse)
src/mcp/httpServe.ts:92
↓ 1 callers
Function
nowIso
()
src/ssh/asyncScreen.ts:26
↓ 1 callers
Function
nowIso
()
src/local/asyncProcess.ts:38
↓ 1 callers
Function
openDirectTcpip
(params: { forwardOut: ForwardOutFn; dstHost: string; dstPort: number; })
src/ssh/proxyJump.ts:30
↓ 1 callers
Function
parseProxyJump
(raw: string)
src/ssh/machine.ts:14
↓ 1 callers
Function
previewDeletePaths
(client: Client, targets: string[])
src/security/policy.ts:152
↓ 1 callers
Function
previewDeletePathsLocal
(targets: string[])
src/security/localPolicy.ts:119
↓ 1 callers
Function
promisifyForwardOut
(client: JumpClientLike)
src/ssh/proxyJump.ts:20
↓ 1 callers
Function
pumpStdinFromFile
(params: { stdinPath: string; childStdin: NodeJS.WritableStream | null | undefined; isDone: () => boolea
src/local/asyncWrapper.ts:32
↓ 1 callers
Function
push
(p: string)
src/security/localPolicy.ts:137
↓ 1 callers
Function
readConfigLinesWithInclude
(configPath: string, visited = new Set<string>())
src/ssh/config/resolve.ts:60
↓ 1 callers
Function
readFileLines
(filePath: string)
src/ssh/config/hosts.ts:30
↓ 1 callers
Function
readJsonBody
(req: http.IncomingMessage)
src/mcp/httpServe.ts:55
↓ 1 callers
Function
resolveWithSshG
(alias: string)
src/ssh/config/resolve.ts:165
↓ 1 callers
Function
runInitCli
()
src/init/initCli.ts:35
↓ 1 callers
Function
safeRequestMeta
(req: http.IncomingMessage)
src/mcp/httpServe.ts:124
↓ 1 callers
Function
serveEnvVars
()
src/envManager/protocol.ts:48
↓ 1 callers
Function
sftpFastGet
(sftp: SftpClient, remotePath: string, localPath: string)
src/ssh/sftp.ts:79
↓ 1 callers
Function
sftpFastPut
(sftp: SftpClient, localPath: string, remotePath: string)
src/ssh/sftp.ts:70
↓ 1 callers
Function
sftpMkdir
(sftp: SftpClient, p: string)
src/ssh/sftp.ts:41
↓ 1 callers
Function
sftpMkdirp
(sftp: SftpClient, p: string)
src/ssh/sftp.ts:51
↓ 1 callers
Function
sftpReaddir
(sftp: SftpClient, p: string)
src/ssh/sftp.ts:61
↓ 1 callers
Function
shouldDebug
()
src/mcp/httpServe.ts:113
↓ 1 callers
Function
sleep
(ms)
scripts/transfer-remote-smoke.cjs:10
↓ 1 callers
Function
sleepMs
(ms: number)
src/local/asyncWrapper.ts:28
↓ 1 callers
Function
startDownloadAsync
(params: { client: Client; machine: string; remotePath: string; localPath: string; plan: DownloadPla
src/transfer/manager.ts:106
↓ 1 callers
Function
startUploadAsync
(params: { client: Client; machine: string; localPath: string; remotePath: string; plan: UploadPlan;
src/transfer/manager.ts:49
↓ 1 callers
Function
stripComments
(line: string)
src/ssh/config/hosts.ts:6
↓ 1 callers
Function
stripComments
(line: string)
src/ssh/config/resolve.ts:19
↓ 1 callers
Function
tailLocalFile
(filePath: string, lines: number)
src/mcp/server.ts:51
↓ 1 callers
Function
tryRegex
(pattern: string)
src/security/policy.ts:67
↓ 1 callers
Function
tryRegex
(pattern: string)
src/security/localPolicy.ts:57
↓ 1 callers
Function
unauthorized
(res: http.ServerResponse, message = "Unauthorized")
src/mcp/httpServe.ts:74
↓ 1 callers
Function
walk
(root: string)
src/security/localPolicy.ts:143
↓ 1 callers
Function
walk
(dir: string)
src/transfer/localWalk.ts:32
↓ 1 callers
Function
walk
(absDir: string, relDir: string)
src/transfer/remoteWalk.ts:35
↓ 1 callers
Function
walkLocal
(rootPath: string)
src/transfer/localWalk.ts:12
↓ 1 callers
Function
walkRemoteDir
(sftp: SftpClient, rootAbs: string)
src/transfer/remoteWalk.ts:28
↓ 1 callers
Function
wrapSudoSh
(command: string)
src/ssh/shell.ts:12
Method
constructor
(params: { create: (key: K) => Promise<T>; close: (value: T) => Promise<void> | void; options: Con
src/ssh/connectionPool.ts:24
Function
createOctsshLocalServer
()
src/mcp/localServer.ts:90
Function
handler
(err: any, stream: any)
src/ssh/runCommand.ts:29
Function
isRemoteDir
(stat: any)
src/transfer/upload.ts:16
Function
mapLimit
(items: T[], limit: number, fn: (item: T, index: number) => Promise<R>)
src/util/concurrency.ts:1
Function
notImplemented
(tool: string)
src/mcp/server.ts:43
Method
replayEventsAfter
(lastEventId: string, { send }: { send: (eventId: string, message: any) => Promise<void> })
src/mcp/httpServe.ts:34
Function
saveConfig
(config: OctsshConfig, baseDir?: string)
src/state/config.ts:70
Function
shutdown
()
src/index.ts:58
← previous
next →
101–200 of 202, ranked by callers