MCPcopy Index your code
hub / github.com/aakso/ssh-inscribe

github.com/aakso/ssh-inscribe @0.11.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.11.0 ↗ · + Follow
350 symbols 1,353 edges 68 files 35 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Installing sshi on Windows

ssh-inscribe client can be used on Windows workstation too.

Installation instructions

  1. Download the sshi-windows-x86_64.exe from Releases

  2. Execute following commands in Powershell. Assuming the downloaded file is in the current directory.

New-Item -Path 'C:\Program Files\ssh-inscribe\' -ItemType Directory
Copy-Item sshi-windows-x86_64.exe -Destination 'C:\Program Files\ssh-inscribe\sshi.exe'
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\ssh-inscribe", [System.EnvironmentVariableTarget]::Machine)
  1. You might also want to set sshi server url as persistent env variable
[Environment]::SetEnvironmentVariable("SSH_INSCRIBE_URL", "https://server.name:8540", [System.EnvironmentVariableTarget]::Machine)
  1. Relaunch Powershell

Installing OpenSSH client for Windows

OpenSSH ssh-agent is required for to be able to store the generated certificate for subsequent use. Enabling ssh-server is not required.

Windows 10:

Please refer to this article: Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709

Previous versions:

  1. Download Microsoft's OpenSSH release: Win32-OpenSSH
  2. Unpack the zip
  3. Copy the OpenSSH-Win64 folder to C:\Program Files
  4. Add C:\Program Files to the path
  5. Execute install-sshd.ps1
  6. Set service 'ssh-agent' to Automatic and start the service

Extension points exported contracts — how you extend this code

Authenticator (Interface)
(no doc) [4 implementers]
pkg/auth/auth.go
FederatedAuthenticator (Interface)
For OAuth2 type authenticators [1 implementers]
pkg/auth/auth.go
Authorizer (Interface)
(no doc) [1 implementers]
pkg/auth/auth.go
Factory (FuncType)
(no doc)
pkg/auth/backend/backend.go

Core symbols most depended-on inside this repo

Add
called by 31
pkg/filteringagent/agent.go
Get
called by 26
pkg/auth/backend/authldap/auth.go
List
called by 21
pkg/filteringagent/agent.go
Close
called by 18
pkg/client/client.go
Authenticate
called by 17
pkg/auth/auth.go
New
called by 16
pkg/keysigner/keysigner.go
Lock
called by 15
pkg/filteringagent/agent.go
Unlock
called by 15
pkg/filteringagent/agent.go

Shape

Function 166
Method 142
Struct 37
Interface 3
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

pkg/client/client.go43 symbols
pkg/keysigner/keysigner.go33 symbols
pkg/auth/auth.go26 symbols
pkg/auth/backend/authoidc/auth.go22 symbols
pkg/keysigner/keysigner_test.go21 symbols
pkg/auth/backend/authldap/auth.go13 symbols
pkg/filteringagent/agent.go11 symbols
pkg/auth/backend/authoidc/auth_test.go11 symbols
pkg/server/signapi/signapi_test.go10 symbols
pkg/config/config.go9 symbols
pkg/auth/backend/authfile/auth.go9 symbols
pkg/filteringagent/agent_test.go8 symbols

For agents

$ claude mcp add ssh-inscribe \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact