Skip to content

No edit option for existing connections #3

@kshitijshettyyy

Description

@kshitijshettyyy

Feature Request: Interactive Edit Mode for sshq edit <alias>

Description

Editing an existing SSH entry using sshq edit <alias> should trigger an interactive editing interface rather than requiring manual config file editing.
This ensures consistency with the existing add flow and improves the overall UX.


Current Behavior

Running:

sshq edit fyre

does not currently provide an interactive way to update connection details.


Expected Behavior

Running:

sshq edit fyre

should display a prompt with the existing entry values pre-filled:

Editing connection: fyre

1. Alias: fyre
2. Host: 9.30.96.7
3. User: root
4. Method: password
5. Password: ****

0. Save & Exit

Select a field to edit (0–5):

After updating a field, the menu should return until the user selects Save & Exit.


Benefits

  • Consistent UX with the sshq add workflow
  • Eliminates manual config editing and reduces errors
  • More intuitive for users who frequently update SSH connection details

Additional Notes

  • Sensitive fields (like passwords or private keys) should be masked in the UI.
  • (Optional future enhancement): Support arrow-key navigation or TUI mode.

Example Use Case

A user wants to update the IP address or authentication method for an existing SSH profile without deleting and recreating it.


Status

  • Type: Enhancement / UX Improvement
  • Impact: High (frequent touchpoint for users)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions