Ubuntu-14.04-x86_64
网上各种搭建方式基本试过了,在自己电脑上clone是一直报如下错误:
Cloning into 'sample'...
ssh: connect to host 104.224.xxx.xx port 22: Bad file number
fatal: Could not read from remote repository.
ssh测试:
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to 104.224.xxx.xx [104.224.xxx.xx] port 22.
debug1: connect to address 104.224.xxx.xx port 22: Connection refused
ssh: connect to host 104.224.xxx.xx port 22: Bad file number
Connection refused,连接被拒绝?电脑用ssh连Github是没问题的。
1
sd4399340 2015-02-11 23:16:41 +08:00
搬瓦工上面22端口一般是不开的吧。。。貌似都是分配一个5位数的端口号的
|
4
Rocko OP 搞定了,服务端与和客户端的端口没对上。。写篇博客压压惊。。
|
5
lxl0528 2015-02-12 01:35:57 +08:00 via Android
写出来让看看,怎么用这个工具。
|
7
laomutuo 2015-02-12 09:27:07 +08:00
搬瓦工是啥?
|
8
ccdany 2015-02-12 11:06:41 +08:00
.ssh 下新建一个文件config
内容如下 Host your hostname or ip IdentityFile ~/.ssh/id_rsa Port 27497 |