Improve ssh error reporting
The way we currently report errors is slightly unfortunate, for example if authentication fails then the user is presented with
Error initializing command: RuntimeError - Unable to create directory on remote system /var/tmp/foreman-ssh-cmd-d6b0bd45-11cb-4cfa-8e76-721548781759: exit code: 255 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Exit status: EXCEPTION
The first line hints at permissions on the remote system, the second line too unless the user knows what publickey and friends mean.
Updated by Adam Ruzicka over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_proxy_plugin|a2e28ef4a167b7c11bd3b680ea6ffcce78920b2e.