Harder, Faster, Stronger SSH clients

ssh -4 -C -c blowfish-cbc
We force IPv4, compress the stream, specify the cypher stream to be Blowfish. I suppose you could use aes256-ctr as well for cypher spec. I'm of course leaving out things like master control sessions and such as that may not be available on your shell although that would speed things up as well.

By: vxbinaca
2009-12-15 00:30:53

What Others Think

You are right in using "Harder" since this command is harder to type than "ssh". :-) To speed test other ciphers, the openssl command provides a speed test which you can run on your own machine: openssl speed aes rc4 blowfish
bwoodacre · 661 weeks ago
@bwoodacre Thats why you alias it in your .bashrc. External programs who call it won't be calling the alias.
vxbinaca · 661 weeks ago
Or put this in ~/.ssh/config to do the same thing in a more readable way and avoid the alias: Host * AddressFamily inet Compression yes Cipher blowfish
bradleybuda · 660 weeks and 6 days ago
Forcing ipv4 seems a bit pointless & short-sighted. I for one use IPv6 almost exclusively on my LAN.
snow93 · 660 weeks and 2 days ago
The rest of the world unfortunately uses 4, but 6 can be forced as well. You use it for domains, ex: [alias'd SSH] srv1.domain.com -p 3345
vxbinaca · 660 weeks and 2 days ago
FYI to newcomers: This was great advice when it was posted, but now it's very outdated.
malathion · 172 weeks and 3 days ago
This is an amazingly unremarkable post for specific key clues. I totally agree. drift hunters
lindadieggoo · 22 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: