Here we can view all of the files that we have uploaded using SFTP. In our example, this is "pcc-000388".įrom here, click the upload-vpn folder. On this tab, select the datastore in which you uploaded your files. Note: We are utilizing the HTML5 version of vSphere for this article, if you are using the flash version, this process may be different. Using the vSphere Client, select Datastores on the top menu bar. Next, we need to locate the file in vSphere. In the new pop-up, simply click ok and your file will be uploaded. Now, select the file you wish to upload from the left-hand side and click the Upload button. In this window, on the right-hand side, select the datastore in which you wish to upload your file. In the new window, you will be able to navigate to your documents on the left-hand side on the right-hand side, you will be able to navigate to your datastores. After double checking that this is indeed the host you want, click Yes to continue. You may get a warning that pops up asking you to check that this is the correct host. From this "Login" screen type in the hostname of your environment, the SSH port 22, and your vSphere credentials. After downloading and launching WinSCP, you will be presented with a "Login" screen. A common, popular, and free SFTP client is WinSCP. Windows does not come with one by default. To access your environment via SFTP in Windows, an SFTP client is required. Accessing Your Datastore via SFTP with Windows Using WinSCP Note: Uploaded files will be saved in an upload-vpn directory. Now you are able to access your datastore and upload files to it as needed. To do so enter the following command: sftp> cd pcc-xxxxxx Once you have identified the datastore to which you wish to upload or download files, move into that datastore. You will see your datastores in the output as follows: pcc-xxxxxx pcc-yyyyyy Once you have successfully accessed your environment via SFTP, you can view your datastores using the following command: sftp> ls Warning: Permanently added ',192.0.2.18' (RSA) to the list of known password: your password RSA key fingerprint is SHA256:vp7m4GPWyH1Qe28Is3G6rRKANB4KTHUT9VemkULJn4w.Īre you sure you want to continue connecting (yes/no)? yes Type the responses (denoted in red text) when prompted: The authenticity of host ' (192.0.2.18)' can't be established. You will then receive the following output. Note: Replace your hostname (e.g., ) with your own. To access your environment via SFTP from Linux or macOS, open Terminal and enter the following command: $ Accessing Your Datastore via SFTP with Windows Using WinSCPĪccessing Your Datastore via SFTP with Linux/macOS.
Accessing Your Datastore via SFTP with Linux/macOS.In this article, we will cover how to access your vSphere environment via SFTP (SSH File Transfer Protocol) with Linux/macOS and Windows.