Skip to content

Commit

Permalink
fix ssh name
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed May 12, 2023
1 parent 87fab18 commit 8d67b5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sky/templates/gcp-ray.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ available_node_types:
value: |
#cloud-config
users:
- name: {{ssh_user}}
- name: skypilot:ssh_user
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
ssh-authorized-keys:
- {{ssh_public_key_content}}
- skypilot:ssh_public_key_content
bootcmd:
- echo 'ClientAliveInterval 720' >> /etc/ssh/sshd_config
- echo 'ClientAliveCountMax 720' >> /etc/ssh/sshd_config
Expand Down Expand Up @@ -125,11 +125,11 @@ available_node_types:
value: |
#cloud-config
users:
- name: {{ssh_user}}
- name: skypilot:ssh_user
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
ssh-authorized-keys:
- {{ssh_public_key_content}}
- skypilot:ssh_public_key_content
bootcmd:
- echo 'ClientAliveInterval 720' >> /etc/ssh/sshd_config
- echo 'ClientAliveCountMax 720' >> /etc/ssh/sshd_config
Expand Down

0 comments on commit 8d67b5f

Please sign in to comment.