-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh禁用密码登陆时,ssh无法穿透 #193
Comments
ssh 加上 -vvv 参数看一下完整输出信息。 |
➜ account git:(master) ✗ ssh -vvv -oPort=6000 usename@publicip 将真实ip替换成‘publicip’了。 同时在机器A、B /var/log/auth.log上也没找到记录。 单独访问机器A、B是正常的。 |
我也是这样,3台机器更新到0.9.0 后只有一台ssh能正常访问;其余2台都是如下报错。 debug1: Connection established. |
但是我测过过,改成其他端口发报文,是能收到的。 |
抱歉,报问题没彻底测试完,刚找了另一组机子做测试,不禁用密码登陆,ssh也一样ssh_exchange_identification: Connection closed by remote host。 |
@AdhereYao @chenming219 我这里测试无法复现这个问题,如果可以的话能否提供一个能复现的环境? @chenming219 你是指上个版本是正常的? |
稍等。。。我发你邮箱。。。 |
@fatedier 已发你邮箱。 |
@AdhereYao 你的配置里是否指定了 pool_count 这个参数,如果指定了将这个去掉试试是否能正常连接? |
@fatedier 之前是指定了pool_count,也就是全部都是默认配置。注释掉了pool_count也还是不work |
@AdhereYao 方便的话加这个群交流下吧,606194980。 |
@fatedier 已申请 |
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013 遇到同样问题 |
@ghost 这个问题解决了么? |
这是因为主机证书冲突了,说明你挂frp之前就登录过这个机器。 |
配置服务时,ssh的local_ip不能写127.0.0.1 [ssh]
type = tcp
local_ip = 192.168.201.1 # 这里不能是127.0.0.1
local_port = 22
remote_port = 13002
use_encryption = true
use_compression = true |
有公网ip的机器A禁用了ssh密码登陆,内网机器B也禁用了ssh密码登陆。
按readme文档配置,http和https正常,同时frps.log看到
[control.go:344] [I] ProxyName [ssh], start proxy success。 但是ssh
-oPort=6000 username@publicip时,ssh_exchange_identification: Connection closed by remote host。frps.log和frpc.log均无记录。The text was updated successfully, but these errors were encountered: