Skip to content
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

使用堡垒机连接资产后,pycharm配置ssh interpreter失败 #2589

Open
ifunplus opened this Issue Apr 10, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@ifunplus
Copy link

commented Apr 10, 2019

[简述你的问题]
使用堡垒机连接资产后,pycharm 配置ssh interpreter失败

使用版本

[请提供你使用的Jumpserver版本 1.x.x 注: 0.3.x不再提供支持]
1.4.8

问题复现步骤
  1. 堡垒机配置完成,A用户可以通过堡垒机登陆A机器。
  2. A机器上有相应的python环境
  3. 用户只能通过堡垒机登陆A机器的情况下,如何配置用户能在pycharm环境中使用A机器上的python环境

希望有人帮忙解答一下,谢谢!

  1. [步骤2]
具体表现[截图可能会更好些,最好能截全]
其他

[注:] 完成后请关闭 issue

@ifunplus

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

image

remote host无法自动显示相应文件,配置相应机器目录也是失败,这块目录怎么写才正常????
image

@ifunplus

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

网上有一个解决方案(https://stackoverflow.com/questions/37827685/pycharm-configuring-multi-hop-remote-interpreters-via-ssh) 是通过端口转发的功能解决pycharm ssh interpreter,但我测试了总是失败,请问一下coco 是不是不支持端口转发方式???

@leeloveying

This comment has been minimized.

Copy link

commented Apr 18, 2019

网上有一个解决方案(https://stackoverflow.com/questions/37827685/pycharm-configuring-multi-hop-remote-interpreters-via-ssh) 是通过端口转发的功能解决pycharm ssh interpreter,但我测试了总是失败,请问一下coco 是不是不支持端口转发方式???

coco服务好像是不支持的,日志会有输出[sshd ERROR] Request type direct-tcpip:direct-tcpip not support now,在使用堡垒机连接mysql服务时发现的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.