Skip to content
Snippets Groups Projects
Select Git revision
  • 7bd09acdffe3562e0dc3479463fd43c45b7dcf79
  • master default
2 results

90_ec2

Blame
    • nimrod's avatar
      5e445830
      Fix issue with ControlMaster sockets pruning. · 5e445830
      nimrod authored
      The prune_ssh_sockets shell function would always delete the
      ControlMaster sockets (the open file handlers would have a random suffix
      and the check would always show that the socket wasn't open by any
      process). Instead add a prefix to the ControlMaster sockets and ignore
      them when pruning. Those sockets are always deleted when the process
      exists. Also, mark the vim filetype for the ssh config fragments as
      sshconfig.
      5e445830
      History
      Fix issue with ControlMaster sockets pruning.
      nimrod authored
      The prune_ssh_sockets shell function would always delete the
      ControlMaster sockets (the open file handlers would have a random suffix
      and the check would always show that the socket wasn't open by any
      process). Instead add a prefix to the ControlMaster sockets and ignore
      them when pruning. Those sockets are always deleted when the process
      exists. Also, mark the vim filetype for the ssh config fragments as
      sshconfig.
    90_ec2 158 B
    
    # vim:ft=sshconfig
    # Disable SSH host key checking for EC2 instances.
    
    Host  *.compute-1.amazonaws.com
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no