Skip to content

Issue with SFTP URIs and grouped hosts #13

@lanceschi

Description

@lanceschi

Hello @Julien-R44,

and thanks for the beautiful fast-ssh TUI app!

I'd like especially the possibility to group the various hosts just prefixing them with a word/string and a slash:

Host Development/alpha
    Hostname 1.2.3.4
    User superman
    IdentityFile /keys/personal.pem
    ServerAliveInterval 60

The only issue I'm facing is with nautilus SFTP URI bookmarks. For example the above host would translate into an invalid:

sftp://Development/alpha/home/superman

The ugly workaround I found this far is to add a second Host reference to the first one in the ~/.ssh/config:

Host Development/alpha
Host alpha
    Hostname 1.2.3.4
    User superman
    IdentityFile /keys/personal.pem
    ServerAliveInterval 60

In order to let me correctly reference the host in SFTP URIs:

sftp://alpha/home/superman

Do you know by any chance how to escape Development/alpha?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions