36 Commits

Author SHA1 Message Date
Mitchell Hashimoto
59fa9ac46b net-ssh 2.1.0. Adds "IdentitiesOnly" support for net-ssh, fixing problems. 2011-01-19 22:00:38 -08:00
Mitchell Hashimoto
9673b7eaee Remove config.ssh.port, it actually never did anything 2011-01-14 00:36:49 -08:00
Petyo Ivanov
b9e24090e9 Add X11 ssh forwarding option (off by default). 2011-01-04 20:17:04 -08:00
Mitchell Hashimoto
681c4a1233 Fix tests dealing with VirtualBox 4 version checks 2010-12-30 21:04:23 -06:00
Mitchell Hashimoto
e98db8dc86 Determine SSH on main thread for up? to fix issues with multi-thread access on JRuby 2010-12-19 10:27:07 -08:00
Mitchell Hashimoto
59ae5747d0 Use timeout library instead of threads to check for VM boot 2010-12-18 18:50:59 -08:00
Mitchell Hashimoto
3fe785ab72 Removed mock_vm test helper, which is unnecessary 2010-10-03 18:45:09 -07:00
Mitchell Hashimoto
c5b81b5998 SSH gives error message if ssh binary is not found. [closes GH-161] 2010-09-29 23:47:17 -07:00
Mitchell Hashimoto
f8e7431899 Retry SSH connect a few times before admitting defeat. 2010-09-09 00:28:21 -07:00
Mitchell Hashimoto
73c223c885 Remove most of the remaining mock_environment calls. Only one remains. 2010-09-07 11:51:10 -07:00
Mitchell Hashimoto
0b03502bf2 Converted final error_and_exit in ssh.rb to exceptions 2010-08-27 00:05:40 -07:00
Mitchell Hashimoto
bab369e856 SSHAuthenticationFailed error 2010-08-27 00:01:27 -07:00
Mitchell Hashimoto
500a63c269 Fix some bugs in the SSH tests, replace one error_and_exit with an exception 2010-08-26 23:51:30 -07:00
Mitchell Hashimoto
8e82fb2691 Fix tests so they run on Ruby 1.9.2 2010-07-19 20:32:07 -07:00
Mitchell Hashimoto
c82308f8da config.ssh.forward_agent option added [closes GH-105] 2010-07-08 22:38:14 -07:00
Mitchell Hashimoto
9e931dd350 VirtualBox minimum version bumped to 3.2 2010-06-17 23:08:38 -07:00
Mitchell Hashimoto
d257703496 SSH gets port from proper place in 3.2.x 2010-06-17 22:31:01 -07:00
Mitchell Hashimoto
abef4d29ce Retry SCP upload 5 times as well 2010-06-03 20:58:04 -07:00
Mitchell Hashimoto
f30cdf3eea New wrapper SSH session class to emit exit status as well. Will be used in the future to raise exceptions for bad exit status. For now, works as a drop-in replacement. 2010-05-28 14:19:35 -07:00
Mitchell Hashimoto
0e4ae3530a vagrant ssh now queries for the ssh forwarded port, rather than relying on config 2010-05-27 18:18:25 -07:00
Mitchell Hashimoto
a5648abe92 Do not worry about key permissions on windows [closes GH-79] 2010-05-24 01:10:27 -07:00
Mitchell Hashimoto
e6f628b98b Check key permissions on SSH execute (must be 0600) 2010-05-20 01:01:17 -07:00
Mitchell Hashimoto
d845e73138 Fork-and-wait SSH on Mac OS X 10.5 [closes GH-51] 2010-04-15 02:36:46 -07:00
Mitchell Hashimoto
4e54cc77a2 Remove old test mocks from the pre-instanced environment days 2010-04-08 23:28:53 -07:00
John Bender
4e4d1a6978 error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml 2010-03-25 00:09:31 -07:00
Mitchell Hashimoto
a2a59b532b vagrant ssh will automatically fix permissions on the private key if necessary 2010-03-19 01:57:28 -07:00
Mitchell Hashimoto
260b099dba SSH class converted to instance methods. now loads on the environment 2010-03-19 01:51:27 -07:00
Mitchell Hashimoto
18f761b015 Unit tests for each error_and_exit now that the message is testable 2010-03-17 21:15:48 -07:00
Mitchell Hashimoto
de54433496 On SSH authentication failure, give a helpful error message outlining what may have gone wrong. 2010-03-15 00:50:23 -07:00
John Bender
00eecf5bdd moved to key based ssh 2010-03-12 01:19:45 -08:00
Mitchell Hashimoto
9c8db3b48a Revert up-ramping SSH timeout. Doesn't solve issue with SSH.execute slowness on internet-less machines. 2010-03-11 19:29:41 -08:00
Mitchell Hashimoto
2c1483ae80 SSH.up? timeout slowly ramps up based on configuration values, giving later attempts more time. 2010-03-11 17:59:25 -08:00
Mitchell Hashimoto
d818bf856b SSH timeout is now configurable with config.ssh.timeout 2010-03-08 19:30:58 -08:00
Mitchell Hashimoto
8d9e53fe27 SSH.up? returns false when an abrupt disconnect occurs 2010-02-16 16:05:58 -08:00
Mitchell Hashimoto
f3cd0591d0 Refactored SSH in how it retrieves the port 2010-02-15 18:07:11 -08:00
Mitchell Hashimoto
c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00