Mitchell Hashimoto
595e7cee0e
Move SSH communication to a plugin
2012-08-08 21:48:51 -07:00
Mitchell Hashimoto
61621369d2
Catch Net::SSH::Disconnect when connecting to SSH
...
This error was experienced by @pearkes. It is thrown when the remote end
unexpectedly closes the remote end. This is usually caused by SSH not
being able to properly setup the connection.
2012-07-04 08:26:09 -10:00
Mitchell Hashimoto
ba64c28304
Convert the path to a string because it may be a Pathname
2012-06-22 21:06:49 -07:00
Mitchell Hashimoto
fa99eb7e54
Check for permission denied when using SCP to upload [GH-924]
2012-06-22 21:04:21 -07:00
mxtthias
447d6810f7
Explicitly tell ssh server we're done sending data
2012-06-08 14:40:49 +02:00
Mitchell Hashimoto
2441961a34
Fix bug where SSH didn't work properly
...
Forgot to set the `shell` variable properly
2012-06-01 23:17:38 +02:00
Mitchell Hashimoto
d5a7ca6159
config.ssh.shell now contains full shell command
...
Before, it only contained the shell executable and "-l" was magically
appended to it. However, every shell doesn't support "-l" and maybe "-l"
isn't even the behavior that users want!
Therefore, the config.ssh.shell command must now contain the full
command to execute.
2012-05-23 15:30:16 -07:00
Mitchell Hashimoto
64ece507ad
`download` operation
2012-05-05 19:52:10 -07:00
Mitchell Hashimoto
2ed6695f78
Improve the SSH ready? check [GH-841]
2012-03-28 22:30:01 -07:00
Mitchell Hashimoto
3ff4be3632
Nicer error for unsupported SSH key type [GH-805]
2012-03-13 14:27:16 -07:00
Mitchell Hashimoto
3a5f0cefb3
Remove ANSI escape codes from SSH output
...
Note that the ANSI escape code removal is not complete,
but is fairly comprehensive in terms of the codes that
really muck with the terminal layout.
2012-01-23 19:29:07 -08:00
Mitchell Hashimoto
e68eb1f4f3
More verbose logging for SSH
2012-01-19 17:02:18 -08:00
Mitchell Hashimoto
87b03609db
Filter clear screen character out of stderr as well
2012-01-19 15:14:11 -08:00
Ryan Gibbons
8aa1d58b33
filter the clear screen command over ssh connections
2012-01-19 16:03:59 -07:00
Mitchell Hashimoto
d9f5cbce3e
Initialize the connection ivar for SSH
2012-01-07 11:57:46 -08:00
Mitchell Hashimoto
0f580fd2c0
Re-use SSH connection
2012-01-07 11:38:27 -08:00
Mitchell Hashimoto
7d56dbb755
Uploaded files now use temporary files rather than StringIO
2012-01-06 21:42:25 -08:00
Mitchell Hashimoto
275ddae646
Convert everything to the new SSH API
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
7bdbec4229
Start switching the old SSH API to the new one
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
19c1340e40
Vagrant::SSH no longer handles actual communication with the VM
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
7ed9f8bd73
SSH communication should inherit from Base
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
00a31ff27b
Communication abstraction. Started SSH.
2012-01-06 20:07:31 -08:00