Super User Asked by user11020868 on December 5, 2021
I want to give a user remote access to files in gcs via sftp. I am thinking of doing this by granting access to a folder hosted on a google compute engine vm instance (basically want to setup an ftp server on google cloud).
I followed the steps below:
sftp:$username@$externalip
with username and password from step 2. No ssh private key suppliedWhen I do this I receive the following connection error using filezilla :
No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
GREAT question and I stumbled here. We tried the some google partner and it was going to be $100/month THEN had trouble even setting it up. THEN, we tried just centOS install and ran into some similar issues that you are reporting BUT then we found
and I did an nslookup so I could map sftp.{ourdomain}.com to their ftp server to look like our sftp and then they have a mapping to drop into google cloud which we will definitely be using. setup: FAST...it was nice
THOUGH, I have not setup the google cloud connector and we are just using their storage for now. we plan to connect it to google cloud later.
Answered by Dean Hiller on December 5, 2021
To, connect via SFTP -- First, you have to generate SSH keys(public keys and private keys) on your local computer, after that, you have to add the public key to Google Cloud metadata and configure Filezilla with the private key. Here is a details blog of siteyaar which I find helpful.
https://www.siteyaar.com/google-cloud-ftp-and-sftp-setup/
Unlike SFTP, Google Cloud VM(S) does not come with a pre-configured FTP server. To connect via FTP you have to set up an Ftp server using vsftpd. Here another blog of siteyaar which also helps you in this regard.
Answered by Akash Patra on December 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP