Sha256: 984d412a8848e40b1359d1973fa8ef8aa3bb5409ec40682d0aee326f38550e65
Contents?: true
Size: 666 Bytes
Versions: 4
Compression:
Stored size: 666 Bytes
Contents
# Code for managing SSH configuration. module ZenGarden module SSH # Writes the contents of an SSH config to Travis-CI's VM. def write_ssh_config File.write ssh_config_path, ssh_config end # Checks whether ~/.ssh/config already exists, in which case we will # not overwrite it. def ssh_config_exists? File.exists? ssh_config_path end private def ssh_config @ssh_config ||= %( Host heroku.com StrictHostKeyChecking no CheckHostIP no UserKnownHostsFile=/dev/null ) end def ssh_config_path @config_path ||= File.expand_path "~/.ssh/config" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
zen_garden-0.0.6 | lib/zen_garden/ssh.rb |
zen_garden-0.0.5 | lib/zen_garden/ssh.rb |
zen_garden-0.0.2 | lib/zen_garden/ssh.rb |
zen_garden-0.0.1 | lib/zen_garden/ssh.rb |