gdcloud compute ssh

NAME

gdcloud compute ssh – SSH-Verbindung zu einer GDC-VM ohne Internetverbindung herstellen.

ZUSAMMENFASSUNG

gdcloud compute ssh INSTANCE_NAME [flags]

BEISPIELE

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

    gdcloud compute ssh example-instance --project projectA

OPTIONALE FLAGS

      --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-WEITE FLAGS

Diese Flags sind für alle Befehle verfügbar: --configuration, --format, --help, --project, --quiet.

Weitere Informationen finden Sie auf der Seite Übersicht über die Referenz zur gcloud CLI.