开发者

Good tool to manage ssh tunnels on OSX [closed]

开发者 https://www.devze.com 2023-03-30 21:55 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Im开发者_如何转开发prove this question

I'm looking for a good tool to manage ssh tunnels. Currently I'm using SSHTunnel (cocoa-sshtunnel) but its not very secure, if you look at a ps while connected you see the password in plaintext. And there is no way to configure a private key file per connection.

I also tried STM (http://projects.tynsoe.org/en/stm/index.php) however you cannot save your passwords, and also no private key option.

I'm working on osx Snow Leopard. I use the tunnels for Remote port forwarding. I have a local SVN server for website development, and checkout remotely. I cannot forward ports as I don't have access to the router.

What tools do you use?


you should use the console and normal ssh for tunneling, at least thats what i always do. here a small introduction on how to use it. password saving is indeed something that doesn't work there but i always used keys anyway so you don't have to enter a password anymore

ssh tunnel from console:

http://www.revsys.com/writings/quicktips/ssh-tunnel.html

login with authkeys:

http://linuxproblem.org/art_9.html

this is both for linux and bsd but should work on mac os too, i remember using it there maybe some option has another shortcut, if it doesn't work look at man ssh

*EDIT

if you need a gui (comment) try jellyfissh seems it can do what you need

http://www.m-works.co.nz/jellyfissh.php


SSH Tunnel Manager - This tool is great!


I use Terminal for this and it works very well. You could create a shell script for your colleagues that sets up the tunnels with their username as an argument. That should be simple enough for them to run? For example:

#!/bin/sh
username=$1
servdest=ssh.yoursshserver.com
ssh -l ${username} -L 7777:${servdest}:7777 -L 2112:wiki.elsewhere.net:80 ${servdest}


I wrote my own tool for this, Tunnel Boring Machine. It doesn't store passwords, but it works fine with SSH keys in ~/.ssh, which is how I use it.

It's possible that I'll get around to password storage at some point -- if you end up finding that TBM works for you but is missing some key feature like password storage, feel free to file an issue on GitHub, or, for that matter, implement it and send me a pull request.

0

精彩评论

暂无评论...
验证码 换一张
取 消