Gcloud
Jump to navigation
Jump to search
SSH Login
- Check Firewall
- Navigator VPC Network -> Firewall
- Check VPC firewall rules
- Set default region
- SSH
gcloud compute ssh <vm-instance-name>
Config default SSH Key
gcloud compute config-ssh \
--ssh-config-file=~/.ssh/config.09-xxx/config \
--ssh-key-file=~/.ssh/config.09-xxx/private_key.pem
gcloud compute config-ssh \
--ssh-config-file=~/.ssh/config.09-xxx/config \
--ssh-key-file=~/.ssh/config.09-xxx/private_key.pem \
--remove