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

These Might Interest You

  • This command will disconnect the user whose mac was specified from the current list of clients from the wireless network when the network card is working in access point mode. Works on atheros-based access points which use the madwifi driver (not sure, but don't think it will work on access points which are not atheros-based, as it uses the atheros's iwpriv extensions). It will not prevent the user from reconnecting to the network, but may force the user to roam to another AP, with stronger signal. Show Sample Output

    iwpriv ath<x> kickmac <macaddress>
    quitaiskiluisf · 2013-06-08 13:41:24 0
  • Generates the list of clients (IPs addresses) that have used the Squid webproxy according to the most recent log. Every IP appears only once in the list.

    cut -c23-37 /var/log/squid3/access.log | cut -d' ' -f1 | sort | uniq
    dan · 2012-09-07 14:57:26 0
  • This exports a directory to the world in read/write mode. It is useful for quick, temporary NFS exports. Consider restricting the clients to a subnet or to specific hosts for security reasons (the client can be specified before the colon). On the client: mount -t nfs4 hostname:/ /mountpoint To terminate all of the exports (after unmounting on the client): exportfs -u -a Leave out the fsid=0 option if you don't want NFSv4. This works under recent versions of Linux.

    exportfs -o fsid=0,rw :/home/jason
    jasonjgw · 2010-11-18 10:02:52 0
  • This is priceless for discovering otherwise invisible characters in files. Like, for example, that stray Control-M at the end of the initial hash bang line in your script, which causes it to generate a mysterious error even though it looks fine. ('od' is the last word, of course, but for many purposes it's much harder to read.)

    cat -A
    mkc · 2009-02-06 02:37:51 0

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 · 444 weeks and 5 days ago
@bwoodacre Thats why you alias it in your .bashrc. External programs who call it won't be calling the alias.
vxbinaca · 444 weeks and 5 days 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 · 444 weeks and 4 days ago
Forcing ipv4 seems a bit pointless & short-sighted. I for one use IPv6 almost exclusively on my LAN.
snow93 · 444 weeks 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 · 444 weeks 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: