Snapcraft 7 Issue: No --bind-ssh option?


Today with the automatic update to snapcraft 7.0.4 our build environments stopped working because of the following error.

snapcraft --bind-ssh
Usage: snapcraft [options] command [args]...
Try 'snapcraft pack -h' for help.

Error: unrecognized arguments: --bind-ssh

We had to revert all our build machines to snapcraft 6.1.

1 Like

While the --bind-ssh option is not implemented yet for core22 snaps, it’s certainly a bug that it’s not being allowed in core20 snaps and earlier. We’ll address that and a fix should be available in the next release.