Skip to content

feat(cli): support direct SSH connection via server alias argument#109

Open
ntheanh201 wants to merge 1 commit intoAdembc:mainfrom
ntheanh201:feat/cli-server-alias
Open

feat(cli): support direct SSH connection via server alias argument#109
ntheanh201 wants to merge 1 commit intoAdembc:mainfrom
ntheanh201:feat/cli-server-alias

Conversation

@ntheanh201
Copy link
Copy Markdown

@ntheanh201 ntheanh201 commented Apr 2, 2026

Allow connecting directly to a server without launching the TUI by passing the server alias as a positional argument or via --server/-s flag.

Usage:

lazyssh host
lazyssh --server host
lazyssh -s host

Adds GetServerByAlias to repository and service layers to look up a server by alias from the SSH config. Returns a clear error if the server is not found

Signed-off-by: The Anh Nguyen <ntheanh201@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant