Welcome To Snipplr


Everyone's Recent Snippets Tagged ssh



1 2 3 Next »
It is necessary on occasion to execute a command in interactive shell. (I needed to to get access to some env vars... ) While there are many way to accomplish this I opted to run my cmd in interactive mode. To do so I had to write this little wrappe...
0 2430 posted 16 years ago by adaminuwashinet
* _HOST_: remote host * _PORT_: ssh port (default 22) * _PATH_: remote path to synchronize
0 1170 posted 16 years ago by Dorgendubal
To connect to your database remotely, tunnel in via SSH. This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running...
3 1487 posted 16 years ago by zachwood
ssh-copy-id + port
1 1444 posted 17 years ago by endorfin
0 3328 posted 17 years ago by brcha
Assumes logs are in /var/log/sshd/* and makes a few text format assumptions that probably make this specific to OpenSSH. Simple, but more than you can see from a quick less.
3 1797 posted 17 years ago by scarfboy
1. Allows encryption between client and server 2. Bypasses filtered port, if any on the standard port for the given service.
1 1442 posted 17 years ago by iblis
This is very useful with dinamic IP connections. You can connect from the host with the dinamic IP, leave the tunnel open to other machine with ssh access and fixed IP and then connect to this machine on specific port (22000 in the example) to connec...
2 1450 posted 17 years ago by Juanje
Changing default settings The defaults for the ssh-related commands can be altered for each account in a configuration file ~/.ssh/config (there is also a system-wide file, usually /etc/ssh/ssh_config). Each entry starts with a Host keyword. You c...
0 1268 posted 17 years ago by cczona
0 1199 posted 17 years ago by Mikker
0 1065 posted 18 years ago by therobot
SSh with 3 levels of debugging this useful if you can't login and need to see what is going on.
1 1486 posted 18 years ago by vanne
0 1216 posted 19 years ago by whitetiger
0 1223 posted 19 years ago by whitetiger
0 1182 posted 19 years ago by whitetiger
0 1090 posted 19 years ago by whitetiger
2 1917 posted 19 years ago by whitetiger
2 1695 posted 19 years ago by whitetiger
2 1963 posted 19 years ago by whitetiger
0 1323 posted 19 years ago by whitetiger
2 1647 posted 19 years ago by jnunemaker
3 1311 posted 19 years ago by miklophone
1 2 3 Next »