我想要下载所有未连接到Internet的计算机的cygwin文件。 我知道我可以用rsync下载所有的cygwin文件,但我不太确定正确的咒语。 你可以帮我吗?
我一直试图在cygwin下编译mutt几天。 包含的版本是过时的,不包括我需要的头caching。 无论如何,我总是得到这样的信息: “configure:error:找不到curses库” 我有所有的诅咒+开发安装+ termpcap,我听说可能是相关的东西。 我已经尝试重新安装,我已经尝试指定configuration命令行上的位置,但我不知道我做的是正确的: “–with-curses = / usr / lib / libncurses.a –with-curses = / usr / lib / libncurses.dll.a –with-curses = / usr / include / ncurses” 这是我的config.log: http://floatsolutions.net/docs/config.log 有任何想法吗? 编辑:上下文
我使用dd(在cygwin下)在Windows中复制磁盘的阴影图像。 影子副本只会给我一个分区,所以我正在做的是: 1)使用dd来抓取磁盘头(Win2003上的32k) 2)使用dd复制影子分区 3)使用dd复制磁盘的末尾(在Win2003上保留8 meg) 4)将它们拼接在一起并在KVM上启动 我需要这个Windows驱动器上的所有分区和非分区空间的确切大小。 不幸的是,大多数的Windows磁盘工具似乎都会让这些数字变得诡异,至less给我的是和Linux不同的大小。 我可以猜想像这个32K +分区大小+ 8M,但我想仔细检查。 如果我犯了一个错误,我可能会丢失数据。 这是在远程和现场Windows 2003服务器上,所以没有脱机解决scheme将是有益的。 最新的cygwin被安装。
我有Cygwin与SSH服务器安装(Windows 7)。 设置完成后,我可以使用“ssh localhost -l [myUsername]”在本地login。 我input我的密码。 成功。 但是,尝试从另一台计算机远程SSH连接到本机,但始终拒绝使用“拒绝权限”的密码。 没有连接问题,显然我正在连接。 防火墙设置全部closures。 为什么会这样呢?
我正在使用Win XP,我试图通过SSH连接到使用RSA密钥的远程主机。 我调查了cygWin认识到文件和设置目录作为主目录 Z:\app\cwRsync\bin>cygpath -H /cygdrive/c/Documents and Settings 我在Documents and Settings / user / .ssh中创build了.ssh目录, 并在其中移动了known_hosts , id_rsa , id_rsa.pub 。 现在,我试图通过ssh.exe连接到远程主机 Z:\app\cwRsync\bin>ssh -p 22 [email protected] Could not create directory '/home/user/.ssh'. The authenticity of host '[remotehost.com]:22 ([remotehost.com]:22)' can't be established. RSA key fingerprint is f7:f4:2c:e0:c6:7e:d2:a4:45:70:63:df:bf:f2:84:46. Are you sure you want to continue connecting (yes/no)? 我做错了什么? […]
我发现的一切都是“ssh-exchange-identification:”错误。 这不会发生在我身上。 我得到两行: Connection to localhost closed by remote host. Connection to localhost closed. ssh -v localhost吐出来: OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to localhost [::1] port 22. debug1: Connection established. debug1: identity file /home/tim/.ssh/id_rsa type -1 debug1: identity file /home/tim/.ssh/id_rsa-cert type -1 debug1: identity file /home/tim/.ssh/id_dsa type […]
我有一个场景,在同一个盒子上的多个进程想要与串行设备进行通信。 进程A需要与串口进行双向通信,进程B只需要能够写入串口。 串行设备不断地喷射数据,而这两个进程周期性地写入端口。 环境是Windows上的Cygwin(进程是Windows进程),但是如果有人使用Linux专用的解决scheme,串行端口可以移动到* nix虚拟机。 我的“networking图”如下: /–<->–[Process A] [serial device]-ttyS0–<->–[socat]-udp-< \–<<<–[Process B] 我的第一个尝试是用udp-recvfrom和fork选项build立一个socat实例。 这适用于第一个数据包 – 一个进程从socat中分离出来,将数据发送到串行设备,并开始从串行设备读取数据。 但是,这个分叉进程现在已经打开了可读写的串口,所以没有更多的分支成功启动。 任何人都可以想办法让这个工作? 我可以想到下面的方法,但我还没有find设置,使任何工作: 使用socat的udp-recv选项来接收任何人,但find一种方法,使其发送回复到一个特定的地址。 使用两个单向socats,一个写入端口,另一个从端口读取。 然后我需要一种方法将这两个单向stream组合成一个双向stream,但我不知道如何。
我试图以一种自动的方式在一堆Windows Server 2003机器上设置OpenSSH。 我的目标是能够使用安装在networking驱动器上的单一版本的Cygwin,而不是在每台机器上手动安装Cygwin。 我可以安装cygwin就好了,但是当我尝试运行ssh-host-config的时候,会遇到问题。 $ ssh-host-config bash: /usr/bin/ssh-host-config: Permission denied 好的,没什么大不了的。 我chmod 555 everythingin / usr / bin。 $ ssh-host-config /usr/share/csih/cygwin-service-installation-helper.sh: line 689: /usr/bin/awk: cannot execute binary file 这是我卡住的地方。 运行 petters@BTSOTTSTBAL507 /usr/bin $ awk bash: /usr/bin/awk: cannot execute binary file 这里是awk的内容: !<symlink>gawk.exe 就像一个注释,我可以运行gawk.exe就好了,并尝试安装CYGWIN = winsymlinks环境variables设置Cygwin。 我也注意到以下 – petters@BTSOTTSTBAL507 /usr/bin $ ls -l total 366592 […]
当我在我的电脑上使用screen ,并分离时,我被带回到命令提示符,一切都很好。 但是,如果我SSH远程进入我的电脑,并使用屏幕,当我试图分离我得到的错误Utmp slot not found -> not removed 。 然后挂起,我甚ctrl-c不能ctrl-c , ctrl-d和必须closuresCygwin窗口。 为什么发生这种情况,我该如何解决? 请注意,通过SSH将您的计算机重新创build出错,然后返回: $ screen (Ca d) $ ssh -R12345:localhost:22 username@someServer $ ssh -p12345 [email protected] $ screen -r (Ca d)
我有rsyncd作为一个Windows服务运行,但是当我尝试访问一个模块并从它同步,我得到我想要的文件,以及我没有 – 因为他们不是位于远程模块结束。 为了testing,我只把一个文件放在备份文件夹中,名为“the_only_file”。 从我的本地机器: username@local:~$ rsync username@remote::backup . receiving incremental file list file has vanished: "/proc" (in backup) file has vanished: "/cygdrive/c" (in backup) file has vanished: "/cygdrive/d" (in backup) skipping non-regular file "dev/clipboard" skipping non-regular file "dev/conin" skipping non-regular file "dev/conout" skipping non-regular file "dev/console" skipping non-regular file "dev/dsp" skipping non-regular file "dev/full" […]