#1 2025-01-28 12:59:08

Osama Shoukat
Member
Registered: 2025-01-28

Error JSchException: invalid privatekey: [B@1ddc8840

Facing issue when i configure SFTP in Report Server

misc.cf
Configuration:

<?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>$generated</keylocation>
         <port>8022</port>
      </sftp>
   </remoteaccess>
</configuration>


security/misc.cf

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <juel>
      <expression>
         <blacklist>getClass</blacklist>
      </expression>
   </juel>
   <errorMessages>
      <hideViolatedSecurityExceptionDetails>false</hideViolatedSecurityExceptionDetails>
   </errorMessages>
   <knownHosts>C:/Users/OS_22497/.ssh/known_hosts</knownHosts>
   <disableLostPassword>false</disableLostPassword>
</configuration>


kindly help me to resolve

Offline

#2 2025-01-31 13:52:58

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Error JSchException: invalid privatekey: [B@1ddc8840

Hi Osama Shoukat,

can you please add the complete error stack you are getting?
when exactly do you get this error?

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB