Gcloud: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 9: | Line 9: | ||
= Config default SSH Key = | = Config default SSH Key = | ||
<syntaxhighlight lang="sh">gcloud config set compute/ssh_key_file <~/.ssh/your_key></syntaxhighlight> | <syntaxhighlight lang="sh"> | ||
gcloud config set compute/ssh_key_file <~/.ssh/your_key> | |||
gcloud config list | |||
</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>
gcloud config list