GoogleCloudPlatform / llm-pipeline-examples

Apache License 2.0
107 stars 26 forks source link

Set expiration on SSH keys used in training #26

Closed Chris113113 closed 1 year ago

Chris113113 commented 1 year ago

Sets an expiration on SSH keys created using gcloud compute ssh. This causes the ssh keys to be cleaned up in the login profile after approximately 1 day. Given that it takes several weeks for the profile to reach the 32kb limit, this should prevent us from running into the limit.