![]() To add the preceding contents to the Dockerfile file, you could use the vi utility on the instance as follows.Īdd the AWS Cloud9 SSH public key to the authorized_keys file. RUN echo "ubuntu:$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" | chpasswd # Update the password to a random one for the user ubuntu. RUN chown -R ubuntu /home/ubuntu/.ssh /home/ubuntu/.ssh/authorized_keys
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |