Commit Graph

11 Commits

Author SHA1 Message Date
CJ Cullen
4cd4d363c5 Change SSHTunnelList to struct to make Open() semantics better.
(cherry picked from commit 48f672af92)
2015-06-16 15:07:21 -07:00
CJ Cullen
e98f79e4bc Fix mislooping in ssh.go. Add retries to AddSSHKeys.
(cherry picked from commit 4d5d0457ef)
2015-06-16 15:07:06 -07:00
CJ Cullen
db645dd31a Add ssh tunnel-open metrics
(cherry picked from commit 66fb8ccb02)
2015-06-15 20:35:12 -07:00
CJ Cullen
c453282f72 Fix several potential crashes in sshtunnel open/close code.
(cherry picked from commit faa9313eea)
2015-06-15 20:34:59 -07:00
Brendan Burns
2240486110 Add an initial test for SSH. 2015-06-08 20:53:05 -07:00
CJ Cullen
04cd9b3c75 Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
CJ Cullen
cb317604ab Some refactoring. Only selectively use ssh proxy.
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387 Fix transport creation logic.
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns
5115fd5703 Add key generation. 2015-06-05 14:55:15 -07:00
Brendan Burns
30a89968a4 Initial proxy tunnelling. 2015-06-05 14:54:20 -07:00
Brendan Burns
a51747f941 Move SSH code into a common util package. Add support for SSH tunnels. 2015-05-27 16:58:52 -07:00