Winscp Google Cloud Storage

Documentation » Using WinSCP » Guides » Cloud Computing »
  1. Winscp Google Cloud Storage Solutions
  2. Download Winscp
  3. Winscp Google Cloud Storage Containers
  4. Winscp Google Cloud Storage App
Download winscp

With WinSCP you can easily upload and manage files on your Google Compute Engine (GCE) instance/server over SFTP protocol.

Upload your files from your workstation to a Cloud Storage bucket. Then, download those files from the bucket to your instances. Create a new Cloud Storage bucket or identify an existing bucket. But i think despite the great base WinSCP has, it will become more and more a niche software, and obsolent for the huge mass of people who use cloud services everyday. Instead of staying a tool for webmasters, admins and the like, it could be a valuable tool for millions of 'not so tech savy' people TOO.

Winscp google cloud storage app

Before starting you should:

  • Have WinSCP installed;
  • Have Google Compute Engine instance running.

First you need to generate your private key, if you do not have one yet:

  • Use PuTTYgen tool to generate new key.
  • PuTTYgen installs by default with WinSCP. One way, to run it, is using Tools > Run PuTTYgen command on WinSCP Login dialog.

Collect information about your GCE instance:

Winscp Google Cloud Storage Solutions

  • IP address: Check External IP column on Compute > Compute Engine > VM Instances page of your project on Google Cloud Platform.
  • Host key fingerprint: On the first connect you will be prompted to verify a server host key.
    • To securely acquire a fingerprint of the host key, use web-based SSH client in Google Cloud Platform (use SSH link on the VM Instances page). In the console, use ssh-keygen command to display a fingerprint of any number of host keys algorithms. The following example shows SHA-256 and MD5 fingerprints of Ed25519 hostkey:

Download Winscp

Set up SSH keys for your Google Compute account:

  • Load your private key to PuTTYgen;
  • Enter your GCE username1 (or any other account name you want to be created) to Key comment box. Note what account name does the console extract out of that username (it will typically drop everything after @).
  • Copy a contents of Public key for pasting into OpenSSH authorized_keys file to the clipboard (note that the contents includes your username);
  • Go to Metadata page of your project on Google Cloud Platform;
  • Go to SSH Keys tab and click Edit;
  • Click Add item button and paste contents of the clipboard to Enter public SSH key box (note how the username is automatically recognized).
  • On the bottom of the page, click Save and wait for the key to be saved.

If you want to set up the keys for a specific VM instance only, go to Edit > SSH Keys > Show and edit > Add item on the instance page instead of using project’s Metadata page.

Advertisement

Finally, start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On the New site node, make sure SFTP protocol is selected.
  • Enter your GCE instance public IP address (see above) into the Host name box.
  • Enter the account name (that the console extracted out of your GCE username) into the User name box;
  • Press Advanced button to open Advanced site settings dialog and go to SSH > Authentication page.
  • In the Private key file box select your private key file.
  • Submit the Advanced site settings dialog with OK button.
  • Save your site settings using the Save button.
  • Login using the Login button.
  • Verify the host key by comparing fingerprints with those collected before (see above).
  • Upload files to FTP server or SFTP server;
  • Automate file transfers (or synchronization) to FTP server or SFTP server;
  • Connecting securely to Amazon EC2 server with SFTP;
  • Connecting securely to Microsoft Azure service with SFTP or FTPS.
  1. If you do not know your username, it’s typically your Google account email addressBack
Documentation » Using WinSCP » Guides » Cloud Computing »

With WinSCP you can easily upload, manage or backup files on your Microsoft OneDrive cloud storage over WebDAV protocol.

Before starting you should have the latest version of WinSCP installed.

Find out your “OneDrive customer ID”:

  • In your web browser, login to your OneDrive.
  • After you log in, your URL should be like:
    https://onedrive.live.com/?id=root&cid=ABCDEFGHIJKLMNOP
    The ABCDEFGHIJKLMNOP part is your “customer ID”. Select it and copy it to the clipboard.

Winscp Google Cloud Storage Containers

Start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On the New site node, select WebDAV protocol and TLS/SSL Implicit encryption.
  • Enter d.docs.live.net into the Host name box.
  • Enter your Microsoft account username/email into the User name box.
  • Password:
    • If you do not have 'Two-step verification' enabled for your Microsoft Account, enter your Microsoft account password into the Password box.
    • If you have the “Two-step verification” enabled, create new app password and enter it into the Password box.
  • Press the Advanced button to open Advanced site settings dialog and go to Environment > Directories page.
  • Paste your “OneDrive customer ID” into the Remote directory box and add a slash in front of it, i.e. like /ABCDEFGHIJKLMNOP.
  • Submit the Advanced site settings dialog with the OK button.
  • Save your site settings using the Save button.
  • Login using the Login button.

Advertisement

Winscp Google Cloud Storage App

  • Guide to uploading files to server;
  • Guide to automating operations (including upload).