Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged ssh
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This script opens an SSL tunnel between a source host and a target host.
1
686
posted 10 years ago by miceno
How to automatically login with SSH. Also known as “key-based authorization with SSH†or simply “publickey authorizationâ€.
0
650
posted 11 years ago by tinytiger
Perform command on all hosts found in **~/.ssh/known_hosts**
Works better when [**auth.sh**](http://snipplr.com/view/46699/authsh/ "auth.sh") has been run on each host first.
0
674
posted 12 years ago by cruelfate
Shows the load of the cpu graphically in ssh (note you must install htop first)
0
589
posted 12 years ago by klovera
This allow serve web pages to internet behind a firewall, using a linux server with a public IP address running sshd.
We must have root credentials and sshd configured with: GatewayPorts yes
0
618
posted 12 years ago by wnasich
rsync doesn't like to copy files from host to host. This is sort of the "old school" unix way - tar everything to a pipe, then pipe everything out. It's how we used to copy directories remotely before we had tools like rsync. I'm definitely open to s...
0
488
posted 12 years ago by 4fthawaiian
ssh localhost -CgL 8080(your computer IP address or name):80
0
744
posted 12 years ago by inreflection7
Ever wanted to execute remote commands with sudo while redirecting output to a file that doesn't belong to the user you login with? Combine single quotes with double quotes!
0
494
posted 12 years ago by nohn
Command to transfer files between servers using the command line.
0
680
posted 12 years ago by frigga
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
1
776
posted 13 years ago by electblake
1. Create a proxy on 8080 to foreword traffic to your server
2. Install Foxyproxy and use options 127.0.0.1:8080 and SOCKS5 enabled
3. Profit
1
573
posted 13 years ago by benpjohnson