Staff Info - Information about dokku for course staff
Troubleshooting Dokku Access
If a staff member or student is unable to access dokku, check these things:
- Is there entry in the List of Users correct (see below, i.e.
/home/eci/dokku_users_list
) - Are they over their CSIL disk quota? (This will prevent them from logging in to dokku for obscure reasons). If so, check https://ucsb-cs156.github.io/topics/CSIL/csil_disk_quota.html
- Check that student has a valid public key:
ls ~/.ssh/id_rsa.pub
and a valid private key in~/.ssh/id_rsa
-
Check that the student has added that key to their authorized keys:
touch ~/.ssh/authorized_keys cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- Check the file permissions of
~/.ssh
and the contents of~/.ssh
. They should be:chmod 700 ~/.ssh chmod 600 ~/.ssh/*
List of Users
The file /home/eci/dokku_users_list
should be editable by the CMPSC 156 instructor; if it isn’t, contact ECI.
That file has one user per line, and a dokku machine they are authorized for.