English 中文(简体)
CopSSH +ite: path issue
原标题:CopSSH + Git: path issue
  • 时间:2010-03-26 13:26:49
  •  标签:
  • ssh
  • msysgit

我很混淆。

I ve installed copSSH and linked it with msysgit installation (by adding path to it). And now whenever I use copSSH tools (like ls, cd) I should use the absolute paths in form like /home , /cygdrive/d/copSSH/home.

But when I used git I should use absolute paths in a different (another) form. like /copSSH/home , d:/copSSH/home .

For me it s really strange. Have anybody clue for that and an idea how to fix it?

非常感谢安德烈。

P.S. I use WinXP, git version 1.7.0.2.msysgit.0, copSSH 3.1.0. Everything is installed using http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/ article (with some modifications).

问题回答

不幸的是,cy子和ming子有不同的测绘窗口驱动器和名录,因此,在你走一条道路之前,你需要知道它是否是个cy子还是ming。

我可以建议的是,将CopSSH bin名录从您的PATH中删除(至少从 g带走),以便所有弹道都能够使用ming的形式。 你们唯一会走cy双路的地方是你做事,采取这种行动。 例如,当你从<条码>到:epositoriesmyrepo.git时,你可使用<条码>gitlin ssh://user@srv/cygdrive/d/reposries/myrepo.git(cygwin form)。 如欲在<代码>d:clonesmyrepo中工作,可使用ls /d/clones/myrepo(mingw32 form)。

此外,在你试图打上任何衣物之前,你可以使用 put子或丝网,进行暗中的联系。 如果在短距离内,请填写ls /home/myrepo.git,然后git lin ssh://user@srv/home/myrepo.git。 应当工作。

请尝试这种形式

git clone gituser@sshserver:myapp.git




相关问题
ssh issue in a loop

I have a script that connects to a server using ssh. While in a loop, it fails to connect to the second server after connecting to the first one. I guess I have to quit from that server to come back ...

Python SSH paramiko issue - ssh from inside of ssh session

import paramiko client = paramiko.SSHClient() client.load_system_host_keys() ip = 192.168.100.6 client.connect(ip, username= root , password= mima ) i, o, e = client.exec_command( apt-get install ...

Trying to get a terminal to work in Emacs

I ve been having a lot of problems with emacs and trying to get the terminal to work with: M-x term I installed cygwin and I fixed up my .emacs to include the paths: (setenv "PATH" (concat "...

How can I debug a Perl CGI script?

I inherited a legacy Perl script from an old server which is being removed. The script needs to be implemented on a new server. I ve got it on the new server. The script is pretty simple; it ...

ActionScript 3 and SSH

Is there a library for SSH in ActionScript 3? If not, I d appreciate some ideas on how to have Flash integrate with SSH. I have a Flash prototype programmed out, and my client wants to see some ...

Solving thread cleanup on paramiko

I have an automated process using paramiko and have this error: Exception in thread Thread-1 (most likely raised during interpreter shutdown) .... .... <type exceptions.AttributeError >: ...

how to use ping in a script

I want a bash script that ll do: for c in computers: do ping $c if ping is sucessfull: ssh $c check something done If I only do ssh and the computer is iresponsive, it takes forever ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

热门标签