Page 1 of 1

Following first steps article, having trouble with SFTP

Posted: 02 January 2025, 06:57
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.

Re: Following first steps article, having trouble with SFTP

Posted: 02 January 2025, 07:56
by thoun
Yes if you did a ssh key you must now use it, it would work with it instead of password

Re: Following first steps article, having trouble with SFTP

Posted: 07 January 2025, 18:25
by Dr Strangegame
Got it, thanks

Re: Following first steps article, having trouble with SFTP

Posted: 09 January 2025, 17:33
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?

Re: Following first steps article, having trouble with SFTP

Posted: 09 January 2025, 18:15
by thoun
You must use port 2022 instead of 22 now, it can be the issue.

Re: Following first steps article, having trouble with SFTP

Posted: 10 January 2025, 01:12
by Scott_Bailey
Thank you. That helped. It was not obvious to me that I needed `-P 2022` instead of `host:port`.