Slashdot Mirror


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?

1 of 284 comments (clear)

  1. Re:InfoWorld at it again by miknix · · Score: 5, Funny

    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:
    $ cat /dev/sda1 | nc localhost 2222

    # 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!