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

SFTP using incompatible cypher #610

Open
scarecr0w12 opened this issue Nov 30, 2023 · 2 comments
Open

SFTP using incompatible cypher #610

scarecr0w12 opened this issue Nov 30, 2023 · 2 comments
Labels
status: backlog This item is on the backlog for future releases

Comments

@scarecr0w12
Copy link

Please make sure to leave out any sensitive information!

Describe the bug
When connecting to SFTP during the setup process for RconConnect, on a server using Pterodactyl panel, the Algo used by the GSA client is incompatible with the Servers SFTP Algo.

To Reproduce
Steps to reproduce the behavior:

  1. Create Ptero based server
  2. Setup Rconconnect GSA Server
  3. use the SFTP creds from PTero in the GSA setup
  4. Attempt to connect via SFTP or SSH

Expected behavior
Connects to the SFTP server

Additional context
Error produced by SFTP Server:

ERROR: [Nov 29 11:11:49.894] sftp: failed to accept inbound connection error=ssh: no common algorithm for host key; client offered: [rsa-sha2-256 rsa-sha2-512 ssh-rsa ssh-dss], server offered: [ssh-ed25519]

Stacktrace:
ssh: no common algorithm for host key; client offered: [rsa-sha2-256 rsa-sha2-512 ssh-rsa ssh-dss], server offered: [ssh-ed25519]
github.com/pterodactyl/wings/sftp.(*SFTPServer).AcceptInbound
        /root/wings/sftp/server.go:108
github.com/pterodactyl/wings/sftp.(*SFTPServer).Run.func3
        /root/wings/sftp/server.go:94
runtime.goexit
        /usr/lib/golang/src/runtime/asm_amd64.s:1598
@mvaessen mvaessen added this to Open in GSA Development Nov 30, 2023
@mvaessen
Copy link
Contributor

Hi, thanks for the info!

I did a quick check and in order to accept the ed25519 cert the system needs to get updated.
because this needs extensive testing will it take a bit more time. For now I recommend using FTP or SSH, or use an RSA key for SFTP.

I don't have an eta when this will be fixed.

@scarecr0w12
Copy link
Author

No worries, the only issue with Pterodactyl panel (My use case in this example), is that it does not allow for regular FTP, and SSH/SFTP both have the same issue. The workaround for now is to SSH the host machine directly, and use the volume for the game server as the source directory.

It works(Have not come across any issues as of yet), so i am happy to wait for a full resolution.

@mvaessen mvaessen changed the title SFTP using incompatible Algo SFTP using incompatible cypher Dec 4, 2023
@mvaessen mvaessen moved this from Open to Planned in GSA Development Dec 13, 2023
@github-actions github-actions bot added the status: planned This item is planned for an upcoming release label Dec 13, 2023
@mvaessen mvaessen moved this from Planned to Backlog in GSA Development Feb 12, 2024
@github-actions github-actions bot added status: backlog This item is on the backlog for future releases and removed status: planned This item is planned for an upcoming release labels Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backlog This item is on the backlog for future releases
Projects
Development

No branches or pull requests

2 participants