hierynomus / hierynomus/sshj

SCPException: Received unknown response code with atmoz/sftp docker image

Open
#578 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Hello,

Im receiving following exception while doing scp upload/download (simple code like `ssh.newSCPFileTransfer().upload(localPath, remotePath)`) with pure https://hub.docker.com/r/atmoz/sftp image.

`net.schmizz.sshj.xfer.scp.SCPException: Received unknown response code
at net.schmizz.sshj.xfer.scp.SCPEngine.check(SCPEngine.java:75)
at net.schmizz.sshj.xfer.scp.SCPUploadClient.startCopy(SCPUploadClient.java:69)
at net.schmizz.sshj.xfer.scp.SCPUploadClient.copy(SCPUploadClient.java:50)
at net.schmizz.sshj.xfer.scp.SCPUploadClient.copy(SCPUploadClient.java:43)
at net.schmizz.sshj.xfer.scp.SCPFileTransfer.upload(SCPFileTransfer.java:55)`

Exception is thrown, despite the file is being copied successfully. Maybe it's somehow related to some additional shell output of the image, but i can't find anything

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.