[Parti-discuss] [PATCH] SSH enhancements (port and compression) for v. 0.0.6
Fredrik Klasson
scientica at gmail.com
Mon Apr 27 05:41:08 PDT 2009
Hello,
(when I'm saying ssh I mean OpenSSH)
Since I have the bad/obscure/fun habit of trying to avoid script-kiddies
probing port 22, I tend to run in to the problems of applications assuming
that ssh is always using the default port (22/tcp). So, instead of just
complaining I thought I'd make life a little more fun, so I created this
little patch against partial-all-0.0.6.
This patch actually adds 2½ features:
* ability to connect/attach via ssh on a non-standard port
* ability to enable (actually request, please refer to ssh(1)) ssh
compression.
* (the ½ feature) A little extra debug output, debug features "/ssh[1-3]?/",
which i.e. adds -v or -v up to -vvv for ssh.
The compression is something I've noticed makes quite a difference when I'm
using ssh via a wifi link, which tend to be like a modem - slow and
unreliable. For fast links (e.g. LAN) it's according to ssh(1) probably slower
(though, I haven't noticed any major degradation when using -C locally).
The new format for attaching to ssh is:
ssh:host[[:port]:display]
compared to the old:
ssh:host[:display]
I'm pretty confident this patch won't break anything but only add the listed
features. Though, I'm not sure I've used the --debug argument correctly, see
the FIXME comment.
Btw, I'm probably going to start loving xpra just as I do screen :). Though,
I've had some issues with input not working with xterm (I only get mojibake
from my keystrokes). But that's a different issue .:)
Happy Hacking 8^)
/Fredrik (aka scientica)
P.S: I'm not (yet ;) on the parti-discuss mailing list, and I'm off to campus
for a lab-session now so I don't have time to subscribe just now. So don't
forget to CC me if you reply.
--
After all, if you are in school to study computer science, then a professor
saying "use this proprietary software to learn computer science" is the
same as English professor handing you a copy of Shakespeare and saying
"use this book to learn Shakespeare without opening the book itself."
-- Bradley Kuhn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parti-all-0.0.6-ssh_enhancements.patch
Type: text/x-patch
Size: 7211 bytes
Desc: not available
URL: <http://lists.partiwm.org/pipermail/parti-discuss/attachments/20090427/e5c68d0c/attachment.bin>
More information about the Parti-discuss
mailing list