V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xi_lin  ›  全部回复第 24 页 / 共 79 页
回复总数  1569
1 ... 20  21  22  23  24  25  26  27  28  29 ... 79  
2017-09-09 22:32:11 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@nadoo 这个看起来有点像 ngrok 一样在 C 上开第三方服务做中转了
2017-09-09 22:30:10 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@wizardoz
方法 1 不行,见我 append 的信息

方法 2 试了下,-vvv 里看到到 hostB 的认证是没问题的,但是再执行下一个 command 的时候过不去

debug3: send packet: type 50
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).
Authenticated to xxx.xx.xx.xx ([xxx.xx.xx.xx]:22). #hostB
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 91
debug2: callback start
debug1: Requesting authentication agent forwarding.
debug2: channel 0: request [email protected] confirm 0
debug3: send packet: type 98
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x08
debug2: client_session2_setup: id 0
debug1: Sending command: ssh hostC
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
2017-09-09 21:59:32 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@cxbig 感谢回复,C 的认证信息是存在 B 上的,我这 A 上没有认证信息
2017-09-09 21:57:43 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@johnlui nginx 反代应该是别的话题?
2017-09-08 23:11:54 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@liyvhg 好像还没到监听端口这一步,我权限验证还没传递过去,连不上目标机 C
2017-09-08 23:00:29 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@Keyes
@terry0314
@liyvhg
@nanpuyue
@wangmingbuhaoqi
我想错了,ssh 转发应该行。只是我这里跳板机上自配了一层认证信息,我好像没法传递这个认证

我的机器 A,跳板机 B,目标机 C
A 连接 B,靠认证信息 x
B 连接 C,靠认证信息 y
我试着直接靠 B 做代理转发,会在 B 的输出上看到提示
channel 3: open failed: administratively prohibited: open failed
2017-09-08 21:18:57 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@Keyes 谢谢指导,我研究下 proxycommand
2017-09-08 21:17:02 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@nanpuyue
@wangmingbuhaoqi
前面说了我没有跳板机的操作权限。。。
跳板机是有一层屏蔽的,不是单纯的中间代理,连上后有菜单要选择下一步跳转的机器
没法直接用原生 ssh 做转发的
2017-09-08 19:05:16 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@ysicing 应该不行,我没法操作跳板机
2017-09-08 19:03:52 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@liyvhg 跳板机我没有操作权限。。
2017-09-08 18:00:22 +08:00
回复了 xi_lin 创建的主题 Linux 有办法用 SSH 给跳板机后的机器做端口映射吗?
@terry0314 对,类似这样,但是在跳板机后面没法直连目标机器
2017-09-08 13:10:04 +08:00
回复了 imrei 创建的主题 macOS macOS 10.12.2 如何控制盒盖后不休眠?
@IgniteWhite 感谢分享,caffeinate 有用
2017-09-07 19:29:58 +08:00
回复了 xi_lin 创建的主题 iDev 对 NSURLSessionTask 的 state 属性做 KVO 可能会造成 crash
@kitalphaj 挺好用的,特别是用 flex 布局,写起来比 auto layout 更灵活一些,而且不用考虑重用的时候各种条件样式的问题。
在 table 中用的时候要注意下数据模型的线程安全,不要在 reload 的时候改数据。
2017-09-04 13:33:58 +08:00
回复了 diwup 创建的主题 iDev HomeBrew 去年下载量排名 #40 carthage 82,303 0.48% #145 cocoapods 18,730 0.11%
因为都不用 brew 装
2017-09-01 17:26:10 +08:00
回复了 won 创建的主题 分享发现 联通,发送短信 CZ50,连续 10 月每月领 5 元话费
北京联通 人在上海 发送后 16 楼 +1
2017-08-31 17:35:24 +08:00
回复了 xi_lin 创建的主题 iDev 腾讯视频内嵌版走的视频 cdn 还是 http 的
@kitalphaj 这倒也是可以,就是存量的老版本没办法播放了
2017-08-23 17:30:36 +08:00
回复了 xi_lin 创建的主题 iDev 如何根据类名查找所在的第三方库?
@markss 你这个楼爬的有点老。。好像是升级了银联控件就没问题了
1 ... 20  21  22  23  24  25  26  27  28  29 ... 79  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2589 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 09:15 · PVG 17:15 · LAX 02:15 · JFK 05:15
Developed with CodeLauncher
♥ Do have faith in what you're doing.