miloserdow / capistrano-deploy

Github Actions for Capistrano
MIT License
128 stars 43 forks source link

missing gems to work with new key encryption type #42

Open novozhenets opened 2 years ago

novozhenets commented 2 years ago

After https://github.com/miloserdow/capistrano-deploy/commit/0d78e2d5f5935584642121fd66199c7119f349b6 I was getting errors about failed authentication via key

net-ssh-7.0.1/lib/net/ssh/authentication/ed[25](https://github.com/novozhenets/trackfolio-backend/runs/7365266070?check_suite_focus=true#step:4:26)519_loader.rb:19:in `raiseUnlessLoaded': OpenSSH keys only supported if ED25519 is available (NotImplementedError)
net-ssh requires the following gems for ed25519 support:
 * ed25519 (>= 1.2, < 2.0)
 * bcrypt_pbkdf (>= 1.0, < 2.0)

Issue is described here https://github.com/net-ssh/net-ssh/issues/565

This should probably be added to README, it took me quite some time to figure this out

tiagojsag commented 2 years ago

I can confirm I had the same problem, and adding both gems to my Gemfile solved the issue

Haguilar91 commented 1 year ago

I can also confirm that fixes it, but my error was different. cap aborted! SSHKit::Runner::ExecuteError: Exception while executing on host ***: Inappropriate ioctl for device Caused by: Errno::ENOTTY: Inappropriate ioctl for device