SSH to another server
Ok ive been trying for hours to find a solution with no luck. So I connect to one linux server with rsa keys just fine. But then have to do a ssh dev2 to get to the server where the actual files i need to edit are. How do i do this in intellij i have always just ftp or sftp to the files and edit. I never had to hop to a different server to do it. Do i need to tunnel using putty or something. Please someone give me a direction to go in. I don't have permission to mount a drive i thought of that. Thank you for your help.
请先登录再写评论。
You can create a local SSH tunnel, like:
ssh -L 2222:dev2:22 dev1Where 2222 is the local port you will connect to to get to dev2.
Forgot to mention im on windows. how would i do this, Through putty?
Yes, exactly: http://prntscr.com/kaqcfr