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 CUSTOM PORT] Connection impossible using a custom SFTP port ? #106

Open
firesixtieone opened this issue May 5, 2024 · 2 comments
Open

Comments

@firesixtieone
Copy link

I may have made a mistake, but It seems I can't connect to my repo using a custom SFTP port, I'm trying to add :myport at the end of the IP adress, but It throw me an error.

unable to start the sftp session, erro receiving version paket from server: server unexpetedly closed connection: unexpected EOF

Thanks, and sorry if this is a stupid question ...

@emuell
Copy link
Owner

emuell commented May 6, 2024

That should just work if you are not using any other special, advanced SFTP options.

How does your sftp URL look like? How are you using it in restic and how do you use it in Restic-Browser?
Please note that the sftp: prefix should be skipped in Restic-Browser, after you've selected SFT as location type in the repository browser.

@firesixtieone
Copy link
Author

I use the right type SFTP and then I put this the URL :
myuser@XX.XXX.XXX.XXX:PPPPP

XX.XXX.XXX.XXX For the IP of the server I'm trying to connect

PPPPP : For the custom port I'm trying to use

If that's matter I'm on a windows machine

This command works in powershell ^^

Thanks again :)

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