Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for SSH Keys for Dedicated Servers #271

Open
BenCat07 opened this issue May 24, 2023 · 4 comments
Open

[Feature Request] Support for SSH Keys for Dedicated Servers #271

BenCat07 opened this issue May 24, 2023 · 4 comments

Comments

@BenCat07
Copy link

BenCat07 commented May 24, 2023

As in the title, i think it would be sufficient to allow adjusting the SFTP option to firstly allow giving a root directory for ARK (having it be optional though), and secondly, but probably much more annoyingly, add support for adding an SSH key to make a connection to the server. That functionality is lacking, and makes it impossible to use any sort of connection options for a set to only allow connections made with a proper SSH key.

Example for me:
I have a server i have running myself where i installed ARK, which is in ~/ARK2 (don't ask what happened to just ~/ARK). Currently i have to manually either sftp the GUS.ini and Game.ini over, or straight up use cat and put it in my clipboard. Applying is the reverse, with deleting the file, or making a backup, then recreating the file with the new Backup. Would be nice to be able to manage it Automatically from Beacon, like with Hosts specifically for Ark.

I understand that this is probably very low priority, as most Beacon users will not use self-hosted server, but it would still be nice to have for the few people that do :)

In Short:

  • Support for SSH key authentication instead of Password in sftp
    - Ability to give a root directory to search in sftp, for the purpose of Beacon using the proper directory
@thommcgrath
Copy link
Owner

Private key authentication is definitely lacking, but I can't remember the roadblock I ran into, so I'll take another look. Beacon uses cURL, which will automatically use ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub, but I'm guessing you're using RSA or ED2559 like any modern system should be.

As for the path, can you explain more about your setup? Beacon will already ask for your Game.ini path when you import the server, so I'm not understanding what it is you're asking for.

@BenCat07
Copy link
Author

Ah i see, that is my bad then, no problem with that. The issue was that i wasn't sure how to handle connecting to my server in the first place, and did not see an option to pass path directly on connection. I'll remove that from the issue.

@BenCat07
Copy link
Author

Private key authentication is definitely lacking, but I can't remember the roadblock I ran into, so I'll take another look. Beacon uses cURL, which will automatically use ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub, but I'm guessing you're using RSA or ED2559 like any modern system should be.

As for the path, can you explain more about your setup? Beacon will already ask for your Game.ini path when you import the server, so I'm not understanding what it is you're asking for.

Yeah windows prefers ED2559 and linux RSA these days, which i'm using.

also, it should be ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub no?

@BenCat07 BenCat07 changed the title [Feature Request] Support for SSH Keys, and Dedicated Servers in general [Feature Request] Support for SSH Keys for Dedicated Servers May 24, 2023
@thommcgrath
Copy link
Owner

For an RSA key, yes. But the docs say id_dsa for DSA key is the default. Which is strange because DSA isn’t a great choice for SSH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants