Nathan LeClaire
af149d13f7
Fix defaulting to native SSH
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-06-16 10:51:25 -07:00
Evan Hazlett
0b5a389481
fix issue with native ssh; fix tty allocation for redhat
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-06-01 10:08:07 -04:00
Evan Hazlett
04c9e917dd
vbox: fix provisioning hang with tty ssh
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-27 08:38:36 -04:00
Nathan LeClaire
93b4799279
Disable password authentication in SSH command
...
This will turn off the password authentication prompt which some SSH
commands experience if there is a lag between when we attempt the first
SSH command and the key has been loaded on the server.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-22 14:02:58 -07:00
Evan Hazlett
5229643a22
ssh: add -t to force tty allocation
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 14:44:55 -04:00
Evan Hazlett
26432b771f
ssh: allocate pty for sudo over ssh for those that have requiretty
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:43:51 -04:00
Nathan LeClaire
2f78b7f92a
Move code to use SSH "backends"
...
Default to shelling out to SSH when available.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-19 15:02:57 -07:00
Nathan LeClaire
e4785ad879
Move over to real retries method
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-15 10:39:39 -07:00
Darren Shepherd
732ca874b8
Fix panic when TCP timeout happens on SSH connect
...
Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-05-07 13:44:33 -07:00
Nathan LeClaire
aa6325dadb
Add retries for SSH dial timeout
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-06 12:59:46 -07:00
Simon Thulbourn
709b0a84e3
Add SSH client
...
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-04-21 15:37:09 +01:00