Project

General

Profile

Actions

Bug #34363

closed

Improve ssh error reporting

Added by Adam Ruzicka over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy - SSH
Found in Releases:

Description

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.


Related issues 1 (0 open1 closed)

Has duplicate Foreman Remote Execution - Bug #34364: Error reporting with DuplicateActions
Actions

Also available in: Atom PDF