Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Integracja kompleksowa rezerwacji w restauracjach wymaga codziennego przesyłania plików danych do skrzynek odbiorczych SFTP (Secure File Transfer Protocol). Google hostuje te skrzynki odbiorcze SFTP, do których partnerzy mogą przesyłać codziennie pliki danych. Skrzynki referencyjne używają protokołu SSH do zabezpieczania połączenia i wymagają pary kluczy publicznego i prywatnego SSH do uwierzytelniania połączenia.
Po wygenerowaniu klucza publicznego wklej go w polu Prześlij publiczny klucz SSH na etapie Konfiguracja.
Tworzenie klucza SSH
Generowanie pary kluczy zależy od platformy organizacji. Aby utworzyć parę kluczy na różnych platformach, wykonaj te czynności:
Platforma Windows
Pobierz i uruchom emulator terminala oraz aplikację do przesyłania plików w sieci na komputerze z systemem Windows. PuTTY to bezpłatna opcja typu open source, którą możesz pobrać ze strony putty.org.
W sekcji Parameters (Parametry) u dołu strony wybierz RSA.
Kliknij Wygeneruj.
Przytrzymaj kursor nad pustym obszarem zgodnie z instrukcjami, aż PuTTYgen wygeneruje parę kluczy.
PuTTYgen zastąpi puste miejsce serią pól, z których jedno będzie zawierać klucz publiczny.
W polu komentarza do klucza dodaj adres e-mail, na który chcesz otrzymywać powiadomienia.
Adres dodaj na końcu tekstu, który już znajduje się w tym polu. Nie zmieniaj tekstu w pozostałych polach.
Kliknij Zapisz klucz publiczny.
Zapisz klucz publiczny pod nazwą id-rsa w tym folderze:
C:\Documents i Settings\username\.ssh, gdzie username to nazwa użytkownika systemu Windows.
Kliknij Zapisz klucz prywatny.
Zapisz klucz prywatny pod nazwą id-rsa.ppk w tym samym folderze.
Skopiuj zawartość pola klucza publicznego do schowka i wklej ją do pliku OpenSSH authorized_keys.
Dopilnuj, żeby skopiować całą zawartość pola – od ssh-rsa aż do adresu wpisanego w punkcie 5.
Zamknij program PuTTYgen.
Wklej klucz publiczny do edytora tekstu, usuń znaki podziału wiersza i jeszcze raz skopiuj cały tekst do schowka.
Wklej klucz publiczny w polu Prześlij publiczny klucz SSH na etapie Konfiguracja.
Kliknij Prześlij.
Platforma macOS lub Linux
Otwórz okno terminala.
Wpisz to polecenie: ssh-keygen -t rsa.
Wybierz domyślne wartości dla wszystkich opcji.
To polecenie wygeneruje 2 pliki kluczy SSH: id_rsa i id_rsa.pub. Zostaną one zapisane w katalogu home/nazwa_użytkownika/.ssh, gdzie username jest Twoją nazwą użytkownika.
Otwórz plik id_rsa.pub w edytorze tekstu.
Zaznacz cały tekst i skopiuj go.
Wklej klucz publiczny w polu Prześlij publiczny klucz SSH na etapie Konfiguracja.
Kliknij Prześlij.
Ta para kluczy służy do bezpiecznego logowania się w skrzynkach SFTP udostępnianych przez Google. Klucz publiczny ma format:
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],[],null,["# Upload Public SSH Key\n\nYour Dining Reservations End-to-End integration requires daily feed uploads to\nSecure File Transfer Protocol (SFTP) dropboxes. Google hosts the following SFTP\ndropboxes for partners to upload daily feed to it. The dropboxes utilize SSH to\nsecure the connection, and require a SSH public and private key pair to\nauthenticate the connection.\n\nAfter you generate, paste the public key in the **Upload Public SSH Key**\nfield of [Setup](https://actionscenter.google.com/home) milestone.\n\n### Create your SSH key\n\nGeneration of a key pair depends on the platform of your organization. Here're\nthe steps to create key pair for different platforms:\n\n#### Windows platform\n\n1. Download and run a terminal emulator and network file transfer application for Windows. PuTTy is a free and open source option which you can download from [putty.org](http://putty.org).\n2. In the **Parameters** section at the bottom of the page, select **RSA**.\n3. Click **Generate**.\n4. Hold the cursor over the blank area as per the instruction, until PuTTYgen generates the key pair.\n5. PuTTYgen replaces the blank area with a series of boxes, one of which shows the public key.\n6. In the key comment box, add the email address to which you want to get notifications.\n7. Add the address to the end of any text that already appears in the box. Don't change the text in the other boxes.\n8. Click **Save public key**.\n9. Save the public key with the name `id-rsa` in the following folder:\n\n `C:\\Documents` and `Settings\\username\\.ssh`, where `username` is your Windows\n username.\n10. Click **Save private key**.\n\n11. Save the private key with the name `id-rsa.ppk` in the same folder.\n\n12. Copy the content of the public key box on the clipboard and paste it into\n the OpenSSH `authorized_keys` file.\n\n13. Make sure to copy the entire content, that starts with `ssh-rsa` and ends\n with the email address you entered at step 5.\n\n14. Close PuTTYgen.\n\n15. Paste the public key into a text editor, remove the line breaks, and recopy\n the full text to the clipboard.\n\n16. Paste the public key in the **Upload Public SSH Key** field of\n [Setup](https://actionscenter.google.com/home) milestone.\n\n17. Click **Submit**.\n\n#### Mac OS or Linux platform\n\n1. Open a terminal window.\n2. Enter this command line: `ssh-keygen -t rsa`.\n3. Select the default values for all options.\n\n This command generates two SSH key files, `id_rsa` and `id_rsa.pub`, in the\n directory home/username/.ssh, where `username` is your username.\n4. Open `id_rsa.pub` file in a plaintext editor.\n\n5. Select all the text and copy it.\n\n | **Note:** Verify that there are no line breaks in the file.\n6. Paste the public key in the **Upload Public SSH Key** field of\n [Setup](https://actionscenter.google.com/home) milestone.\n\n7. Click **Submit**.\n\nThis pair of keys is used to securely sign in to the Google-provided SFTP\ndropboxes. The public key has the following format: \n\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXsM9ycbHV6E6t2L+B4p/uYHn9Q0jmu5gUXMYnFnnf4l39xrznfDo8KCASzRrqUkRnuzrno059CvZVzcljkbwWLzKKoE1EwbzHL3nYahMB4MdYNWhBbHbB+ybq6RNO7hkoKDBIQCfqQDY0FEB6sV3d3F1WYl0bAMjp15yyZJzMKa/rRnZKWetHlcL1X+gFWmW2hQ93foPD463gb58/25GujjsS/tzjngw7UJMVkm08U1QEY3z3DE/R++7ovJozTCzH0CTNDN0AH3/oSC3dmG+yDh3ZXFATjWjyPXJSOziNrp9TXgJhlqSmoHcPvpotMVjx21kIZ+T+SusQmnG+hK+L user@yourdomain.com\n\n| **Important:** Don't include new line breaks in the key.\n| **Key Point:** Keep track of your public and private key. You need to provide the public key to Google in some of the later steps.\n| **Note:** Most Actions Center partners prefer to use the same public and private key pair across all feeds. If you want to use a different key pair for each feed or for each environment, you must change your SSH key after the initial setup steps are completed, within the [Feed configuration](https://partnerdash.google.com/apps/reservewithgoogle/configuration/feeds?env=sandbox) page of the partner portal. Refer to the [Feeds](/actions-center/verticals/reservations/e2e/partner-portal/testing/feeds) to learn how to change your keys."]]