Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Favourite sshisms (Score 1) 2362

My favourite ssh thing to do is database dump/import over ssh:

ssh user@remotehost 'psql "COPY mytable TO STDOUT"' | psql "COPY mytable FROM STDIN"

Remote device images are also win:

ssh user@remotehost 'dd if=/dev/hda1' > sdb.iso
mkdir -p /mnt/iso
mount -o loop sdb.iso /mnt/iso
ls /mnt/iso # Win!

Not to mention combining ssh tunnel with more ssh tunneling and then more ssh! Mmm, ssh. Almost as awesome as netcat. - shazow

Slashdot Top Deals

"Text processing has made it possible to right-justify any idea, even one which cannot be justified on any other grounds." -- J. Finnegan, USC.

Working...