Gcloud: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 6: | Line 6: | ||
* Set default region | * Set default region | ||
* SSH <syntaxhighlight lang="sh">gcloud compute ssh <vm-instance-name></syntaxhighlight> | * SSH <syntaxhighlight lang="sh">gcloud compute ssh <vm-instance-name></syntaxhighlight> | ||
= Config default SSH Key = | |||
<syntaxhighlight lang="sh">gcloud config set compute/ssh_key_file <~/.ssh/your_key></syntaxhighlight> | |||
Revision as of 06:42, 12 November 2025
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 config set compute/ssh_key_file <~/.ssh/your_key>