server
我在尝试将 repository.git 文件夹从一台机器(表现为)克隆到另一台机器(表现为 )时收到错误client
。Terminal commands
我尝试过的和收到的响应如下所示。
sonya@sonya-desktop:~/workspace$ git clone sonya@192.168.1.153:/home/user153/remote_repository.git
Cloning into 'remote_repository'...
ssh: connect to host 192.168.1.153 port 22: Connection refused
fatal: The remote end hung up unexpectedly
我也试过了SSH
。下面Terminal commands
给出了收到的回复。在这两种情况下,我都面临同样的问题。
sonya@sonya-desktop:~/workspace$ git clone ssh://sonya@192.168.1.153/home/user153/remote_repository.git
Cloning into 'remote_repository'...
ssh: connect to host 192.168.1.153 port 22: Connection refused
fatal: The remote end hung up unexpectedly
的解释Terminal commands
。
sonya
:Git username
我已经在我的服务器机器上创建了。
192.168.1.153
:IP
服务器机器
/home/user153/remote_repository.git
:Path
服务器机器中的 remote_repository.git(git 文件夹)。
任何人请帮助。在此先感谢。