Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2023-10-26 13:44:45

matraxa
Member
Registered: 2023-10-26

Issue regarding SFTP configuration

Hi,
I'm trying to use the SFTP server in order to copy some existing groovy scripts in order to test some automation for an existing instance using ReportServer without having to manually put them using the UI. However, I'm having issues when I'm trying to connect to it. I'm receiving the following error:

$ sftp -i /opt/reportserver/ssh/hostkey -P 8022 root@localhost
Received disconnect from 127.0.0.1 port 8022:9: getKexProposal() no resolved signatures available
Disconnected from 127.0.0.1 port 8022
Connection closed.
Connection closed

Here is a bit more information regarding my current setup. I'm using Ubuntu 22.04 (jammy). I've set up ReportServer Enterprise 4.6.1-6098 using the best practice guide (https://reportserver.net/en/tutorials/i … /#database). For the ssh key, I've created it using the ssh-keygen command. The public/private keys are using the RSA algorithm and are 2048 bits in size. I've also changed the tomcat user to be the owner of those keys as well as the directory they are in. Finally here is the configuration of the
/fileserver/etc/misc/misc.cf file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <database>
      <oracle>
         <filter>
            <convertclobs>true</convertclobs>
         </filter>
      </oracle>
   </database>
   <remoteaccess>
      <sftp disabled="false"><!-- Use $generated in order to generate a key on first start. -->
         <keylocation>/opt/reportserver/ssh/hostkey.pem</keylocation>
         <port>8022</port>
      </sftp>
   </remoteaccess>
</configuration>

Any help would be appreciated, thanks. Apologies for the lack of formatting in this post.

Last edited by matraxa (2023-10-26 14:33:01)

Offline

#2 2023-11-01 14:27:42

matraxa
Member
Registered: 2023-10-26

Re: Issue regarding SFTP configuration

Nevermind, I managed to fix it. It seems that it was not liking my keys for some reason so I just used the $generated option to create a new one.

Offline

Board footer

Powered by FluxBB