Comprehensive data protection for all workloads
Post Reply
BrianBuchanan
Enthusiast
Posts: 58
Liked: 9 times
Joined: Nov 29, 2019 12:56 pm
Full Name: Brian Buchanan
Contact:

Trouble adding a linux repository

Post by BrianBuchanan »

Hi,

I'm trying to do something that just might not be possible, but here it goes.

I have a Synology DS918+ (w/16-GB RAM) that I want to use as a backup repository, but I also want the Fast Block Clone features of XFS. Since the Synology doesn't support XFS, I setup a Ubuntu 20.04 VM.

Since I've used it before, I used Tom Sightler's docker repository, but not using ZFS and instead, creating a separate virtual disk that I formatted with XFS.

The VM looks good, the docker looks good, I'm able to ssh in with the generated key but in Veeam B&R I add the credentials and get to the point of adding the server to Veeam but instead of displaying the ssh key fingerprint, it fails with "An established connection was aborted by the server".

For fun I tried other credentials, and they fail with the same message on this server. I think that's odd. Other linux repositories don't fail with this message if I use the wrong credentials.

I've found that message in the Svc.VeeamBackup.log (I'm not sure that's the correct log file) along with

Code: Select all

[26.10.2020 18:21:28] <76> Error    An established connection was aborted by the server. (System.Exception)
[26.10.2020 18:21:28] <76> Error    Server stack trace: 
[26.10.2020 18:21:28] <76> Error       at Veeam.Backup.Satellite.CSatelliteSshConnectorServiceStub.GetFingerprint(CClientSshConnectionSpec connSpec)
[26.10.2020 18:21:28] <76> Error       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[26.10.2020 18:21:28] <76> Error       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
[26.10.2020 18:21:28] <76> Error    Exception rethrown at [0]: 
[26.10.2020 18:21:28] <76> Error       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[26.10.2020 18:21:28] <76> Error       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
[26.10.2020 18:21:28] <76> Error       at Veeam.Backup.SSH.ISshConnector.GetFingerprint(CClientSshConnectionSpec connSpec)
[26.10.2020 18:21:28] <76> Error       at Veeam.Common.Remoting.CRetryableMethod.DoInvoke[Ret](ActionDelegate`1 dlg)
[26.10.2020 18:21:28] <76> Error       at Veeam.Backup.Interaction.Management.CSshManagementServiceStub.GetFingerprint(CClientSshConnectionSpec connSpec)
BrianBuchanan
Enthusiast
Posts: 58
Liked: 9 times
Joined: Nov 29, 2019 12:56 pm
Full Name: Brian Buchanan
Contact:

Re: Trouble adding a linux repository

Post by BrianBuchanan » 2 people like this post

Well that was embarrassing.

The fact that the other linux servers didn't give the same message with wrong credentials was a huge hint. I went and started comparing item by item, and since I wasn't using Tom's build-vbrrepo.sh script, and instead picking commands to run, it turns out I missed one.

Code: Select all

ssh-keygen -f ${keypath}/ssh_host_rsa_key -N '' -t rsa -C "veeam-docker-hostkey"
That's the RSA host key. I had generated the ECDSA and ED25519 host keys which is why I was able to connect with putty and ssh.

So if anyone else gets this error, check that your linux host has an RSA host key?

Sorry for the trouble. I'll leave this around just incase it helps someone in 7 years.
Post Reply

Who is online

Users browsing this forum: AlexLeadingEdge, Bing [Bot], wmiller203405 and 322 guests