Following first steps article, having trouble with SFTP

Game development with Board Game Arena Studio
Post Reply
User avatar
Dr Strangegame
Posts: 36
Joined: 08 January 2013, 04:42

Following first steps article, having trouble with SFTP

Post by Dr Strangegame »

Hi, if someone can give me a quick assist, I would appreciate it.
I was able to use my SFTP username and password in Visual Studio Code just fine, and it worked for awhile.
However, now when I try, I constantly get an error. I did enter a SSH key in the Control Panel screen earlier today. Did that make my SFTP password invalid now? If it did, how can I remove the SSH key?

This is what I get now after entering my SFTP password:

PS C:\Users\Raymo\TutorialRaymond> sftp -oPort=2022 DrStrangegame@1.studio.boardgamearena.com
(DrStrangegame@1.studio.boardgamearena.com) Password:
(DrStrangegame@1.studio.boardgamearena.com) Password:
Connection closed by 37.187.205.147 port 2022
PS C:\Users\Raymo\TutorialRaymond>

Any help is greatly appreciated.
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: Following first steps article, having trouble with SFTP

Post by thoun »

Yes if you did a ssh key you must now use it, it would work with it instead of password
User avatar
Dr Strangegame
Posts: 36
Joined: 08 January 2013, 04:42

Re: Following first steps article, having trouble with SFTP

Post by Dr Strangegame »

Got it, thanks
User avatar
Scott_Bailey
Posts: 2
Joined: 05 October 2020, 22:17

Re: Following first steps article, having trouble with SFTP

Post by Scott_Bailey »

Similar issues?

I have had this working in the past, but my notes are inadequate.

I can ssh to 1.studio.boardgamearena.com but errors finding my home directory.

sftp with the same credentials seems like I get a connection, but ends with an exit 1. I supplied my id_rsa.pub but it's not being looked at as far as I can tell (using sftp -vvv).

Thoughts?
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: Following first steps article, having trouble with SFTP

Post by thoun »

You must use port 2022 instead of 22 now, it can be the issue.
User avatar
Scott_Bailey
Posts: 2
Joined: 05 October 2020, 22:17

Re: Following first steps article, having trouble with SFTP

Post by Scott_Bailey »

Thank you. That helped. It was not obvious to me that I needed `-P 2022` instead of `host:port`.
Post Reply

Return to “Developers”