Open iliesh opened 8 months ago
How do you imagine the feature in sshs?
I see it this way, once the host is selected, hitting Enter should initiate an SSH connection as it currently does. However, pressing CTRL-ENTER (for example) could trigger SSHFS to mount the remote folder and then open the file manager (like Ranger) within that folder. I know, SSHFS might be a bit slower, but it gets the job done. At present, I've got a bash script that accomplishes this using Rofi instead of SSHS. But, integrating this functionality into sshs would enhance its usability by consolidating both features within a single application.
You should be able to use SSHFS directly with sshs using the --template
argument:
sshs --template 'sshfs "{{{name}}}":/path/to/remote /path/to/local'
Would be handy beside connecting by default through the ssh to have an option to connect through SFTP in order to copy/download files from the remote servers.