sshpass -p 'xx'  ssh -oStrictHostKeyChecking=no -L 0.0.0.0:8983:10.128.31.171:8983 -p 10086 xx@xx -N

mark

其他案例

# 可以访问140,通过140,将144的3389端口映射到本地。
sshpass -p 'xxx' ssh -oStrictHostKeyChecking=no -L 0.0.0.0:3389:192.168.78.144:3389 -p 22 root@192.168.78.140 -N -vv
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-10-11 23:00:13

results matching ""

    No results matching ""