Renci.SshNet.Common.ScpException: scp: error: unexpected filename
问题描述最近在调用 Renci.SshNet.ScpClient.Upload(FileInfo fileInfo, String path) 函数时遇到 scp: error: unexpected filename 的报错。解决办法查阅资料后发现是Renci.SshNet.dll类库版本太老导致,下载2020.0.0-beta1版本并重新引用后问题解决。下载连接https://github.com/sshnet/SSH.NET/releases/tag/2020.0.1
原创
2021-03-10 18:23:00 ·
3113 阅读 ·
6 评论