Skip to content

Commit

Permalink
Merge pull request #214 from elg/master
Browse files Browse the repository at this point in the history
Change an error message #209
  • Loading branch information
elg committed Nov 2, 2017
2 parents 05077b0 + 0713c3f commit ea47cda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion passhport/passhport
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ if __name__ == '__main__':
target_list = get(url_passhport + "user" + "/accessible_targets/" + \
username).split("\n")
except AttributeError as e:
sys.exit("No user exists in database.")
sys.exit("No user exists in database or can't reach passhportd.\n" +
"tip: it can be a SSL certificate misconfiguration.")
originalcmd = os.environ.get('SSH_ORIGINAL_COMMAND')
choice = 0

Expand Down

0 comments on commit ea47cda

Please sign in to comment.