easyssh
easyssh copied to clipboard
Feature request: support adding custom tools
EasySSH provides a nice and simple (to use) GUI to access all the remote shell connections I need.
From time to time I also need to connect to that connection using other tools e.g. to transfer files. The issue #75 requests to add such a feature to EasySSH itself.
I suggest another approach. There are already such a lot tools that provides different functions for SSH connections.
Similar to the already present "bookmarks" allow to add "user tools".
The user can freely define the command that should be executed on the local machine and the user can also use from special variables provided by EasySSH.
Let me give you an example:
For an user action command EasySSH provides the following variables:
-
EASYSSH_CONN_USERNAME
: the configured username of the connection -
EASYSSH_CONN_PASSWORD
: the configured password of the connection -
EASYSSH_CONN_HOST
: the configured host of the connection -
EASYSSH_CONN_PORT
: the configured port of the connection -
EASYSSH_CONN_PWD
: the current directory the terminal window is using
So, I could define an user action "Start Krusader" and set this command:
krusader fish://${EASYSSH_CONN_USERNAME}:${EASYSSH_CONN_PASSWORD}@${EASYSSH_CONN_HOST}:${EASYSSH_CONN_PORT}${EASYSSH_CONN_PWD}
That way, we could very simple start other tools without managing the connection information at different places (only one: EasySSH).
We also don't need to implement all features (file transfer, ...) in EasySSH itself, but could use external tools for not yet (or never) implemented features.
WDYT?