ssh_util.setup_user_keys restricts permission on ssh public keys dir, preventing login
Bug #1340901 reported by
Patrick Lucas
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Bug present in: Ubuntu 14.04 LTS, cloud-init 0.7.5-0ubuntu1
In ssh_util.py, setup_user_keys, which is called by config.
This directory is found by parsing /etc/ssh/
In our case, the value of AuthorizedKeysFile is /etc/authorized
My proposed solution is for setup_user_keys to only chmod and chown the directory and pubkey file if the file is contained within the user's home directory.
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.