Closed chewi closed 7 years ago
Check that the SFTP subsystem is enabled on the guest? It would be configured in /etc/sshd_config
or similar in the guest OS.
Ah yes, the openssh cookbook had stomped over the configuration with the wrong sftp-server
path as noted in chef-cookbooks/openssh#90. Thanks!
Love this thing! It was working fine for me and then broke for no apparent reason on an existing Vagrant guest. Repeated attempts don't help. My colleague also ran into the same error the first time he tried it. I've tried to diagnose the issue but all I've found is that the SFTP::Session's
protocol
is nil for some reason.