아래 코드를 사용하여 ssh 서버에 파일을 업로드하려면 Tamir.SharpSsh
을 사용하고 있습니다. 단, System.IO.IOException: Pipe closed.
이유는 무엇입니까? 이 원격 서버의 권한으로 수행해야 할 수도 있습니다처럼C#/Tamir.SharpSsh : System.IO.IOException : 파이프가 닫혔습니다
SshTransferProtocolBase scp = new Scp(SSH_HOST, SSH_USER);
scp.Password = SSH_PASSWORD;
scp.Connect();
foreach (string file in files)
{
string remotePath = "incoming/" + new FileInfo(file).Name;
scp.Put(file, remotePath);
}
scp.Close();
는 감사 /닐스는