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

[jira] [Commented] (NIFI-9324) SFTP Subsystem Request Failed

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

Wiktor Kubicki commented on NIFI-9324:
--------------------------------------

Yes, you are right, my sftp on main site is probably disabled.. (i think i need to talk with my admins in spite of all..).
{code:java}
user-test@host2:~ sftp -i=./.ssh_keys/id_rsa_isftp.prv  user@host1
subsystem request failed on channel 0
Couldn't read packet: Connection reset by peer
{code}
And Alan was talking about ssh banner before login, not after MOTD, so my comment introduced chaos and was totally useless.. I'm sorry.

[~alan.rigele@digitata.com] can you provide more info and logs?

 

> SFTP Subsystem Request Failed
> -----------------------------
>
>                 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
>            Assignee: David Handermann
>            Priority: Major
>              Labels: fetchsftp, listsftp, nifi
>         Attachments: not-ok, ok
>
>
> 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)