Tag: ssh
-

Ditch the Desktop, Go Headless
6 Reasons to Ditch the Desktop and Run a Headless Server Have you been trying to figure out what to do with that old laptop lying around? Maybe you’ve got an old mini PC or the like that you’ve been wanting to repurpose. Instead of installing a desktop OS on it, here’s why you should…
-

Hide Your Shell Passwords with sshpass
Hard-coding is never the answer. Instead, use sshpass when you need to put a password in your Bash script. At some point in your interactions with Linux, you will write a shell script, Bash or otherwise. It could be as simple as a single line or as complex as any program you’ve ever written. Either…
-

Tunnels with SSH Port Forwarding
If you are looking to create a encrypted tunnel from one Linux instance to another, the bet choice is SSH port forwarding. Secure Shell (SSH) has several really cool tricks up its sleeve, each of which offers a handy feature (wrapped in a comforting blanket of security) to help make your life a bit easier.…