Getting the Most Out of SSH
jfruh writes "If you have to administer a *nix computer remotely, you hopefully ditched Telnet for SSH years ago. But you might not know that this tool does a lot more than offer you a secured command line. Here are some tips and tricks that'll help you do everything from detect man-in-the-middle attacks (how are you supposed to know if you should accept a new hosts public key, anyway?) to evading restrictions on Web surfing."
What are your own favorite tricks for using SSH?
SSh tunneling is teh sex.
Love many, trust a few, do harm to none.
Thank heavens for Ghostery.
You misspelled "NoScript".
Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.
MasterMan (2603851) - You do know that you can use real programming language like C++ for that, right?
C++ programmers are truly masters of the universe. I salute you sir for taking hours and object oriented wizardry to do what most programmers would do in 5 mins with a short script.
And in 2002, when I was contracting for the government, I needed some data that was stored on a government server. They set up a user account for me and rather than email the password to me, called to tell it to me over the phone, because they felt that was more secure than email.
The joke was that I was to connect via telnet. They didn't have ssh on that server. They didn't even have some kind of secure telnet that would at least try to encrypt the password. Just plain old telnet, with the password transmitted in the clear.
Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
What about unlimited encrypted storage?
you need TCP forwarding enabled in your sshd_config, then
ssh -L localhost:2222:localhost:2222 localhost
$ echo "data you wanna save" | nc localhost 2222
# or if you want to backup your hdd, try: /dev/sda1 | nc localhost 2222
$ cat
# the data will be forwarded forever in the loopback link at no cost until you read it back:
$ nc localhost 2222 > hdd-backup.bin
# profit!