[jira] [Commented] (SSHD-621) ClientSession.createSftpClient() doesn't return when server doesn't support SFTP
[ https://issues.apache.org/jira/browse/SSHD-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15085465#comment-15085465 ] Oliver Stöneberg commented on SSHD-621: --- I also tried psftp by PuTTY and sftp of an ubuntu installation and it also fails with those: sftp (added full output as attachment): debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug1: Sending subsystem: sftp debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 sh: /usr/libexec/sftp-server: not found debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK Transferred: sent 2480, received 2048 bytes, in 0.0 seconds Bytes per second: sent 66418.5, received 54848.9 debug1: Exit status 127 Connection closed psftp: sh: /usr/libexec/sftp-server: not found Fatal: Received unexpected end-of-file from SFTP server So the server doesn't support SFTP but they both give a different error message. Still it shouldn't hang. > ClientSession.createSftpClient() doesn't return when server doesn't support > SFTP > > > Key: SSHD-621 > URL: https://issues.apache.org/jira/browse/SSHD-621 > Project: MINA SSHD > Issue Type: Bug >Reporter: Oliver Stöneberg >Assignee: Goldstein Lyor > Attachments: sftp.log, sftp_hang.txt > > > I am trying to connect to a server via SFTP and the > ClientSession.createSftpClient() call hangs. I see the following warning > which doesn't seem to be propagated: > [org.apache.sshd.client.subsystem.sftp.DefaultSftpClient] > onClose(ChannelSubsystem[id=0, > recipient=0]-ClientSessionImpl[test@/XX.XX.XX.XXX:44][sftp]) closed before > version negotiated > I tried to connect to server with another SFTP client and that client can't > connect either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SSHD-621) ClientSession.createSftpClient() doesn't return when server doesn't support SFTP
[ https://issues.apache.org/jira/browse/SSHD-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15085476#comment-15085476 ] Goldstein Lyor commented on SSHD-621: - It is indeed a bug - if you will notice I have already started working on it and hope to have a fix pretty soon. > ClientSession.createSftpClient() doesn't return when server doesn't support > SFTP > > > Key: SSHD-621 > URL: https://issues.apache.org/jira/browse/SSHD-621 > Project: MINA SSHD > Issue Type: Bug >Reporter: Oliver Stöneberg >Assignee: Goldstein Lyor > Attachments: sftp_hang.txt, sftp_vvv.log > > > I am trying to connect to a server via SFTP and the > ClientSession.createSftpClient() call hangs. I see the following warning > which doesn't seem to be propagated: > [org.apache.sshd.client.subsystem.sftp.DefaultSftpClient] > onClose(ChannelSubsystem[id=0, > recipient=0]-ClientSessionImpl[test@/XX.XX.XX.XXX:44][sftp]) closed before > version negotiated > I tried to connect to server with another SFTP client and that client can't > connect either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SSHD-621) ClientSession.createSftpClient() doesn't return when server doesn't support SFTP
[ https://issues.apache.org/jira/browse/SSHD-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15083083#comment-15083083 ] Goldstein Lyor commented on SSHD-621: - Again, seems also a server issue - it closes the channel before version negotiation takes place. > ClientSession.createSftpClient() doesn't return when server doesn't support > SFTP > > > Key: SSHD-621 > URL: https://issues.apache.org/jira/browse/SSHD-621 > Project: MINA SSHD > Issue Type: Bug >Reporter: Oliver Stöneberg > Attachments: sftp_hang.txt > > > I am trying to connect to a server via SFTP and the > ClientSession.createSftpClient() call hangs. I see the following warning > which doesn't seem to be propagated: > [org.apache.sshd.client.subsystem.sftp.DefaultSftpClient] > onClose(ChannelSubsystem[id=0, > recipient=0]-ClientSessionImpl[test@/XX.XX.XX.XXX:44][sftp]) closed before > version negotiated > I tried to connect to server with another SFTP client and that client can't > connect either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SSHD-621) ClientSession.createSftpClient() doesn't return when server doesn't support SFTP
[ https://issues.apache.org/jira/browse/SSHD-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15083212#comment-15083212 ] Oliver Stöneberg commented on SSHD-621: --- It seems it doesn't support SFTP. I tried WinSCP to connect and it just goes back to the dialog that lets you select. > ClientSession.createSftpClient() doesn't return when server doesn't support > SFTP > > > Key: SSHD-621 > URL: https://issues.apache.org/jira/browse/SSHD-621 > Project: MINA SSHD > Issue Type: Bug >Reporter: Oliver Stöneberg >Assignee: Goldstein Lyor > Attachments: sftp_hang.txt > > > I am trying to connect to a server via SFTP and the > ClientSession.createSftpClient() call hangs. I see the following warning > which doesn't seem to be propagated: > [org.apache.sshd.client.subsystem.sftp.DefaultSftpClient] > onClose(ChannelSubsystem[id=0, > recipient=0]-ClientSessionImpl[test@/XX.XX.XX.XXX:44][sftp]) closed before > version negotiated > I tried to connect to server with another SFTP client and that client can't > connect either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)