Menu

#3 Add option to start ssh socksified

open
nobody
None
5
2010-06-07
2010-06-07
dragao_de
No

As I mostly have to tunnel my ssh connections I would like to see an option/checkbox or something similar that allows me to start a ssh connection socksified. On the command line the equivilant looks like "tsocks ssh -A user@system.domain"

The following workaround does the thing but a checkbox would be the better and more proper thing

/usr/lib/ruby/1.8/sshmenu.rb (fedora-12)
/usr/lib/ruby/site_ruby/1.8/sshmenu.rb (fedora-13)

def ssh_command(host)
if host.enable_bcvi
return 'bcvi --wrap-ssh --'
else
return 'tsocks ssh'
end
end

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.