gdcloud compute ssh

이름

gdcloud compute ssh - GDC 오프라인 가상 머신에 SSH로 연결합니다.

개요

gdcloud compute ssh INSTANCE_NAME [flags]

EXAMPLES

To SSH to virtual machine example-instance in project projectA, run:

    gdcloud compute ssh example-instance --project projectA

선택적 플래그

      --command string                    A command to run on the virtual machine.
                                          Runs the command on the target instance and then exits. Example:
                                          
                                            gcloud compute ssh example-instance --command="ps -ejH"
      --ssh-flag stringArray              Additional flags to be passed to ssh(1).
                                          It is recommended that flags be passed using an assignment operator and quotes. Example:
                                          
                                            gcloud compute ssh example-instance --ssh-flag="-vvv" --ssh-flag="-L 80:localhost:80"
      --strict-host-key-checking string   Override the default behavior of StrictHostKeyChecking for the connection.
                                          By default, StrictHostKeyChecking is set to 'ask' when '--quiet' is NOT on, otherwise it is set to 'accept-new'.
                                          Must be one of: "yes", "no", "ask", "accept-new". (default "ask")

GDCLOUD 전체 플래그

이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).

자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.