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

question: ssh connection error. #4

Open
budda85 opened this issue Oct 10, 2019 · 1 comment
Open

question: ssh connection error. #4

budda85 opened this issue Oct 10, 2019 · 1 comment

Comments

@budda85
Copy link

budda85 commented Oct 10, 2019

Hey,
I'm running your borg-server on my Synology NAS.
I've added my pub Key in the /sshkeys/client Folder and start the Container.
The container found the Key and import it.
But when i try to init my repo there is a permission denied error.
The Container see my connection, but is it normal that the port ist increase with every try?
Did you have an idea?

Here the log from the Docker:

date stream content
2019-10-10 07:56:10 stdout Connection closed by authenticating user borg 172.17.0.1 port 36208 [preauth]
2019-10-10 07:55:54 stdout Connection closed by authenticating user borg 172.17.0.1 port 36207 [preauth]
2019-10-10 07:55:31 stdout Server listening on 0.0.0.0 port 22.
2019-10-10 07:55:31 stdout Server listening on :: port 22.
2019-10-10 07:55:31 stdout * Init done! Starting SSH-Daemon...
2019-10-10 07:55:31 stdout ########################################################
2019-10-10 07:55:31 stdout ** Adding client xyz.pub with repo path /backup/xyz.pub
2019-10-10 07:55:31 stdout * Starting SSH-Key import...
2019-10-10 07:55:31 stdout ########################################################
2019-10-10 07:55:31 stdout * Checking / Preparing SSH Host-Keys...
2019-10-10 07:55:31 stdout * Testing Volume SSH_KEY_DIR: /sshkeys
2019-10-10 07:55:31 stdout * Testing Volume BORG_DATA_DIR: /backup
2019-10-10 07:55:31 stdout ########################################################
2019-10-10 07:55:31 stdout * Docker BorgServer powered by borg 1.1.9
2019-10-10 07:55:31 stdout ########################################################

Here is my terminal:

root@xyz:~# borg init ssh://[email protected]:port/backup/xyz.pub/repo
Remote: Permission denied (publickey).
Connection closed by remote host. Is borg working on the server?

Thx
Jan

@Nold360
Copy link
Owner

Nold360 commented Dec 5, 2019

Hi,

sorry, i really don't know. Did you figure it out yet? I guess it might be something with the owner/rights of the volumes. Or bad ssh-key format.

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