transmit-2-ssh-config
Synchronize Transmit 5 SFTP favorites with your SSH config file
Last updated 19 days ago by hellonico .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install transmit-2-ssh-config 
SYNC missed versions from official npm registry.

Transmit favorites to SSH config

This package is born because I was bored to keep both my SSH config file and Transmit favorites in sync, filling twice the same informations over and over.

It will add all your Transmit 5 SFTP favorites into an SSH config file.

Install

npm install -g transmit-2-ssh-config

or

yarn global add transmit-2-ssh-config

Usage

t2sc

Additional notes

  • You have to allow access to Transmit on the first run.
  • If you don't have a ~/.ssh/config file, it will be created for you.
  • Only SFTP favorites are synchronized to the SSH config file.
  • Existing config, hosts in your SSH config file will be preserved, Transmit favorites are safely added, updated or deleted.

Caveats

  • Since Transmit 5, you can't get folders so beware to have unique Host names.

Third party stuff to consider

SSH config completion

I strongly recommend, if not using it already, to add this line to your .bash_profile:

# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh;

Taken from famous Mathias’s dotfiles

Shuttle

You can quickly access your SSH config file hosts with the excellent Shuttle app.

License

MIT © Nicolas Lemoine

Current Tags

  • 1.2.0                                ...           latest (19 days ago)

5 Versions

  • 1.2.0                                ...           19 days ago
  • 1.1.3                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 16
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |