SFTP problems

Game development with Board Game Arena Studio
Post Reply
OlafTheUnready
Posts: 2
Joined: 24 April 2024, 21:00

SFTP problems

Post by OlafTheUnready »

I am trying to follow the reversi tutorial.
Looking at this page:
https://github.com/NevinAF/bga-ts-templ ... s/index.md

This bit:
"Run the SFTP: Sync Remote -> Local command. This will download all initial files from the BGA server to your local folder."
Does not work: I get "All configured authentication methods failed"
OlafTheUnready
Posts: 2
Joined: 24 April 2024, 21:00

Re: SFTP problems

Post by OlafTheUnready »

Resolved.

The model for accounts on BGA is quite confusing, perhaps it should be better documented somwhere.
1. There's my main account to play games, I can get in there by signing in with Google. Username OlafTheUnready.
2. Then there's my "develop with this account" account, I can get in there by signing in with DougBanks0 and custom password.
3. Then there's OTHER username/passwd pairs for certain services like SFTP and database.

I was using 2 and I should have been using 3.
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: SFTP problems

Post by Victoria_La »

This is what documented now on https://en.doc.boardgamearena.com/How_t ... er_team%3F

Is this not clear? We can adjust wiki in this case
---

Once registered, you will get this by email:

* one login / password to access files through SFTP
* one login / password to access the database (for your games in progress)
* ten logins with numeric suffixes from 0 to 9 and a common simple password to test games on the studio website while developing.
User avatar
Harry_Tuttle
Posts: 22
Joined: 28 September 2019, 08:23

Re: SFTP problems

Post by Harry_Tuttle »

I have the same issue, while starting with the reversi tutorial. But I do use the correct user/password pair. I get the same error.

I have set everything up like in the documentation:

Code: Select all

{
	"name": "BGA",
	"host": "1.studio.boardgamearena.com",
	"protocol": "sftp",
	"port": 22,
	"username": "macbas",
	"password": "************my-sftp-password***************",
	"remotePath": "/ReversiTutorial/",
	"ignore": [
		".vscode",
		".git",
		".idea",
		".gitignore",
		".DS_Store",
		"node_modules",
		"package-lock.json",
		"yarn.lock",
		"nmp-debug.log",
		"yarn-error.log",
		"source/client/build"
	]
}

Not sure what the problem is.
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: SFTP problems

Post by thoun »

The port is now 2022, you still have 22 written.
User avatar
Harry_Tuttle
Posts: 22
Joined: 28 September 2019, 08:23

Re: SFTP problems

Post by Harry_Tuttle »

Ah, now it works. Also needed to update the path correctl. But the port shoul maybe updated in the documentation. There it is still 22. Thanks a lot!
Wumixh
Posts: 1
Joined: 02 September 2024, 20:12

Re: SFTP problems

Post by Wumixh »

Hi,
I'm having the same error.
I've try also with WinSCP and i've got access denied with my account. My SFTP user is Wumixh.
User avatar
Waterraft
Posts: 1
Joined: 15 April 2025, 16:21

Re: SFTP problems

Post by Waterraft »

hi all,

just to cap this thread off with a working template for anyone who finds this later and is still a bit confused on how to set up the SFTP on VScode

Code: Select all

{
	"name": "BGA",
	"host": "1.studio.boardgamearena.com",
	"protocol": "sftp",
	"port": 2022,
	"username": "  username check email  ",
	"password": "  password check email  ",
	"remotePath": "  name of project  /",
	"ignore": [
		".vscode",
		".git",
		".idea",
		".gitignore",
		".DS_Store",
		"node_modules",
		"package-lock.json",
		"yarn.lock",
		"nmp-debug.log",
		"yarn-error.log",
		"source/client/build"
	]
}
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: SFTP problems

Post by thoun »

It' already existing in the Studio Doc ;) https://en.doc.boardgamearena.com/Setti ... #File_Sync
Post Reply

Return to “Developers”