liuluohui / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

关于SSH设置 #451

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
如题该怎么设置?能给个范例吗?填了几次都没设置好。越��
�细越好
[SSH]
Enable=0
#Config identify file as url's i para.
Server[0]=ssh://user:pass@host:port
#Server[1]=ssh://user@host:port/?i=C:\Users\myname\.ssh\id_rsa
#Use remote DNS over SSH tunnel
RemoteResolve=1
UseGlobalProxy=0

Original issue reported on code.google.com by tonray...@gmail.com on 15 Jun 2013 at 6:30

GoogleCodeExporter commented 8 years ago
[SSH]
Enable=1
Listen=localhost:48103
#Config identify file as url's i para.
Server[0]=ssh://user:pass@10.10.10.10:22
#Server[1]=ssh://user@host:port/?i=C:\Users\myname\.ssh\id_rsa
#Use remote DNS over SSH tunnel
RemoteResolve=1
Proxy=

代理设置为127.0.0.1:48103

Original comment by yinqiwen@gmail.com on 15 Jun 2013 at 2:59

GoogleCodeExporter commented 8 years ago
user:pass 这里怎么填?比如heroku 是登陆账号?为什么还是不行

Original comment by tonray...@gmail.com on 15 Jun 2013 at 3:27

GoogleCodeExporter commented 8 years ago
首先要有一个ssh服务端, 比如自己的VPS, 
heroku这些PaaS多半是不支持的

Original comment by yinqiwen@gmail.com on 16 Jun 2013 at 2:58

GoogleCodeExporter commented 8 years ago
那 Linux 下的密钥路径该怎么填呢?我用 / \/ \\/ 都不行。

Original comment by SolarisB...@gmail.com on 1 Sep 2013 at 5:38