ssh_view_config
View SSH server configurations and settings to manage remote connections and monitor setup details.
Instructions
View the full SSH configuration including servers and settings
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:275-297 (handler)The handler for ssh_view_config which returns a sanitized view of the SSH configuration.
case 'ssh_view_config': { // Filter out sensitive information (passwords and private key paths) const sanitizedConfig = { servers: config.servers.map(s => ({ id: s.id, name: s.name, host: s.host, port: s.port, username: s.username, authMethod: s.authMethod, // Exclude: password, privateKeyPath for security })), settings: config.settings, }; return { content: [ { type: 'text', text: JSON.stringify(sanitizedConfig, null, 2), }, ], }; } - src/index.ts:53-60 (registration)Registration of the ssh_view_config tool definition.
{ name: 'ssh_view_config', description: 'View the full SSH configuration including servers and settings', inputSchema: { type: 'object', properties: {}, required: [], },