fix: SSH username with spaces + improved SSH error messages
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
fix(T1.3): Verify SSH username with spaces passes through intact — audit confirmed agent.username is never shell-interpolated in OS commands; it is passed directly to ssh2 ConnectConfig.username; added schema description noting spaces are allowed; adds unit tests for getSSHConfig and isContainedInWorkFolderfix(T1.4): Improve SSH error messages in register_member — adds classifySshError() mapping ssh2 error codes to user-friendly guidance (auth failure, ECONNREFUSED, ETIMEDOUT/ENOTFOUND, OOB); applied in registerMember() at connection failure; verifies onboarding hook only fires on ✅ result; adds 9 unit testsregister_member with username containing spaces connects successfully🤖 Generated with Claude Code
Ticket changed by: kumaakh