在 Cygwin 上使用 Rsync 时出现错误

在 Cygwin 上使用 Rsync 时出现错误

我正在使用 rsync 将数据传输到 HPC 集群,使用适用于 Windows 7 的 Cygwin。我键入以下命令将文件夹从我的计算机传输到 HPC 远程服务器。

rsync -rzv /cygdrive/C/Users/LSRATHORE/Desktop/data_wf [email protected] :/home/lsrathore/test

这会在 Cygwin 中产生以下错误行:

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
C:/cygwin64/bin/ssh.exe: error while loading shared libraries: cyggssapi_krb5-2.dll: cannot open shared object file: No such file or directory
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.2.0dev]

答案1

安装或重新安装包含 cyggssapi_krb5-2.dll 的包
使用cygcheck -p来识别它:

$ cygcheck -p cyggssapi_krb5-2.dll
Found 6 matches for cyggssapi_krb5-2.dll
krb5-debuginfo-1.15.1-1 - krb5-debuginfo: Debug info for krb5
krb5-debuginfo-1.15.2-1 - krb5-debuginfo: Debug info for krb5
krb5-debuginfo-1.15.2-2 - krb5-debuginfo: Debug info for krb5
libgssapi_krb5_2-1.15.1-1 - libgssapi_krb5_2: Kerberos reference implementation
GSS-API library
libgssapi_krb5_2-1.15.2-1 - libgssapi_krb5_2: Kerberos reference implementation
GSS-API library
libgssapi_krb5_2-1.15.2-2 - libgssapi_krb5_2: Kerberos reference implementation
GSS-API library

就是这样libgssapi_krb5_2

相关内容