and so far the plugin is using name for both in SSHSource. So it can pull and while ssh-connect can use leaf[HOST_NAME_KEY], copy-ip can use leaf[HOST_ADDRESS_KEY]
(There will be some edge cases which needs to be handled.)
Edit: I saw the new beta, I haven't tested this. but perhaps it better to implement in beta.
I think this may be useful as long this action will be global - for all HostLeaves, not only for ssh.
Of course SSHSource need modification and maybe other sources.
My ssh hosts includes something like, (note, it has aliases for small letter since gvfs doesn't support capital letter in Host).
Sometimes I need quickly need the ip address of my server. My attempt is so far is a hack to find ip with command-line tool,
However this doesn't have to be the case. Host object already contains,
and so far the plugin is using name for both in
SSHSource
. So it can pull and while ssh-connect can useleaf[HOST_NAME_KEY]
, copy-ip can useleaf[HOST_ADDRESS_KEY]
(There will be some edge cases which needs to be handled.)
Edit: I saw the new beta, I haven't tested this. but perhaps it better to implement in beta.
Environment
Kupfer Version: V320 Window Manager: Unity/Compiz Desktop Environment: Unity Linux Distribution: Ubuntu 22.04
@KarolBedkowski Thoughts ?