|
|
| Unix Administration Firewall Intrusion Detection Network Security Hacking MORE HOME |
ssh -4Nnfg -R 2222:127.0.0.1:22 -lroot tunnelMachine -o keepalive=yes
ssh -gf -L 2223:tunnelMachine:2222 localhost sleep 60
ssh root@tunnelMachine -p 2223
printf 'from="host.name.com",command="/usr/local/bin/command" \ %s\n' "'cat ~/.ssh/key.pub'" | ssh server 'cat >> ~/.ssh/authorized_keys2'
ssh -T -o "IdentityFile2 /root/.ssh/key" server
cat myfile | ssh user@desktop lprrunning a file into the lpr spooler on desktop
tar -cf - source_dir | ssh user@desktop 'cat > dest.tar'piping file over the network.
dd if=t41.home.ram.tar.gz | ssh ram@192.168.0.13 'tar --exclude=ram/software/ -C /mnt/backup -xzf -'
| CopyLeft (l) 2003 by Raffael Marty |