You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/01/05 16:36:00 UTC

[jira] [Commented] (NIFI-9324) SFTP handling of Server Banners

    [ https://issues.apache.org/jira/browse/NIFI-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469419#comment-17469419 ] 

David Handermann commented on NIFI-9324:
----------------------------------------

I configured a banner with the same message in /etc/ssh/sshd_config and tested ListSFTP on both NiFi 1.14.0 and 1.15.2.  Both versions ran successfully.

[~alan.rigele@digitata.com] or [~Kirhold] can either of you provide additional debug logging associated with this error?  Setting the {{net.schmizz.sshj}} logger to {{DEBUG}} in logback.xml should provide additional details.
{noformat}
<logger name="net.schmizz.sshj" level="DEBUG" />
{noformat}
 

> SFTP handling of Server Banners
> -------------------------------
>
>                 Key: NIFI-9324
>                 URL: https://issues.apache.org/jira/browse/NIFI-9324
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>         Environment: Redhat Linux 
> Nifi 1.14.0
>            Reporter: Alan Rigele
>            Priority: Major
>              Labels: fetchsftp, listsftp, nifi
>
> WHen attempting to connect to an SFTP server to list and then fetch files, the processor will fail with a socker timeout. The server is avilable from the nifi server, and the user/pwd has been tested. The one difference to another srver is that the failign one has a server banner which returns 
> This is the reponse from the shell test. 
> $ sftp [xxxxx@yy.yy.yy.yy|mailto:ossdigitata@10.203.8.196]
> *You are trying to access a restricted zone. Only Authorized Users allowed.*
> [xxxxx@yy.yy.yy.yy's|mailto:ossdigitata@10.203.8.196's] password:
> Connected to yy.yy.yy.yy
>  
> I dont see any possible parameter to configure. And scanning the code does not show too much. 
> Any ideas
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)