Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Hipchat ssh key authorization

Ilgiz February 10, 2015

Hi, I'm trying to configure ssh key authorization for hipchat, but it's doesn't work using /etc/ssh/ssh_host_rsa_key. I've changed "#PasswordAuthentication yes" to "PasswordAuthentication no" in /etc/ssh/sshd_config and restarted ssh service. 

1 answer

0 votes
Vladimir Kramarenko February 27, 2015

Look at the end of  /etc/ssh/sshd_config:

# Whitelist to HipChat admin
DenyUsers root ubuntu hipchat
AllowUsers admin

 

AllowUsers option allows ssh access only for specified users. Make sure your user is included or comment out this section. 


AllowUsers

This keyword can be followed by a list of user name patterns, separated by spaces. If specified, login is allowed only for user names that match one of the patterns. Only user names are valid; a numerical user ID is not recognized. By default, login is allowed for all users. If the pattern takes the form USER@HOST then USER and HOST are separately checked, restricting logins to particular users from particular hosts. The allow/deny directives are processed in the following order: DenyUsersAllowUsersDenyGroups, and finally AllowGroups.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events