Synchronize Transmit 5 SFTP favorites with your SSH config file.
npm install -g transmit-2-ssh-configt2scimport getTransmitFavorites from 'transmit-2-ssh-config';
const favorites = await getTransmitFavorites();
// Returns array of SFTP favorites with: Id, Host, HostName, User, Port, Protocol, RemotePath- Requires accessibility permissions on first run
- Only SFTP favorites are synchronized
- Creates
~/.ssh/configand~/.ssh/config.d/if they don't exist - Existing SSH config entries are preserved
Folder structure extraction uses AppleScript UI scripting and may fail in edge cases. Use unique names for folders and favorites to avoid issues.
Enable SSH hostname completion by adding to .bash_profile:
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp sshQuick access to SSH hosts: Shuttle
MIT © Nicolas Lemoine
