Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged ssh



« Prev 1 2 3
Create a bash alias for a SSH command, e.g. sshToWork
1 1107 posted 12 years ago by adamokruhlicaeu
This script opens an SSL tunnel between a source host and a target host.
1 1132 posted 12 years ago by miceno
How to automatically login with SSH. Also known as “key-based authorization with SSH” or simply “publickey authorization”.
0 1064 posted 12 years ago by tinytiger
OK, getting sick of typing my password.
0 850 posted 13 years ago by tregeagle
File transfer keeping dir structure
1 1021 posted 13 years ago by blackthorne
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 1116 posted 13 years ago by cruelfate
Check the version of CentOS
0 1062 posted 13 years ago by klovera
Shows the load of the cpu graphically in ssh (note you must install htop first)
0 1023 posted 13 years ago by klovera
Zipping Files on ssh using terminal etc
0 1005 posted 13 years ago by bubaphex
0 1027 posted 13 years ago by iloveitaly
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 1023 posted 13 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 884 posted 13 years ago by 4fthawaiian
0 988 posted 14 years ago by iroybot
0 910 posted 14 years ago by ragnarokkrr
0 897 posted 14 years ago by ragnarokkrr
ssh localhost -CgL 8080(your computer IP address or name):80
0 1214 posted 14 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 919 posted 14 years ago by nohn
0 1083 posted 14 years ago by xz
0 1025 posted 14 years ago by pacifists
Command to transfer files between servers using the command line.
0 1106 posted 14 years ago by frigga
how to compress files on servers with out zip support
0 767 posted 14 years ago by springy
0 1372 posted 14 years ago by vigoncas
0 826 posted 14 years ago by l4u
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 1222 posted 14 years ago by electblake
0 908 posted 14 years ago by bionic
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 1011 posted 14 years ago by benpjohnson
0 935 posted 14 years ago by moonbather
« Prev 1 2 3