Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

ssh: Use Linux as a SOCKS5 proxy

Up
vote
Down

Did you know you could use ssh to create a SOCKS5 server?

This article explains how to create a SOCKS5 server in 1 command and how to add ip-based access control to it via iptables and tcp forwarder. read more...
permapage | score:9275 | -pkrumins, May 7, 2010

ZShaolin: vim, nmap, git, rsync, ssh for Android

Up
vote
Down

Remember ZShaolin? Yep, it’s that Android ninja tool that gives you zsh and a whole bunch of command-line applications on your Android device, minus the need to root it. read more...
permapage | score:8996 | -finid, November 9, 2012

Anyterm: Remote access without SSH

Up
vote
Down

Browser-based secure terminal access to remote systems...
Anyterm allows you to have secure terminal access to a server without needing any special software on a client machine beyond a Web browser. For example, with Anyterm you can open a terminal into your server from an Internet cafe. Because Anyterm uses a pseudo-terminal for communication with the shell, you can run most command-line tools from an Anyterm terminal running inside a Web browser.
read more...
permapage | score:8749 | -Ray, March 19, 2008

Parallel SSH Sessions

Up
vote
Down

Centrally control multiple SSH sessions to multiple remote hosts simultaneously..
If you want to increase your productivity with SSH, you can try a tool that lets you run commands on more than one remote machine at the same time. Parallel ssh, Cluster SSH, and ClusterIt let you specify commands in a single terminal window and send them to a collection of remote machines where they can be executed.

Why you would need a utility like this when, using openSSH, you can create a file containing your commands and use a bash for loop to run it on a list of remote hosts, one at a time? One advantage of a parallel SSH utility is that commands can be run on several hosts at the same time.
read more...
mail this link | permapage | score:8553 | -Ray, November 11, 2008

WiFi Hotspot Privacy with SSH Tunnelling

Up
vote
Down

Wish you had some privacy while working from a wireless hotspot?
The problem is that for it to be a good hotspot anyone needs to be able to use it. Now you are really “socializing” with the others around you since they can read your email, instant messaging and see what you are web browsing. To use SSH to protect your traffic you use the concept of port-forwarding. Use an encrypted SSH tunnel to a destination you reasonably trust and direct your activities through it. This encrypts your easy to read traffic over the exposed link of the wireless until it comes out of the SSH server and looks like normal traffic originating from there. Now our friends in the coffee shop cannot read our email, instant messaging or web pages
read more...
mail this link | permapage | score:8540 | -Ray, December 13, 2005

Protect SSH from dictionary attacks with pam_abl

Up
vote
Down

Use pam_abl module to stop brute force attacks against your SSH server...
Practically all Unix and Linux servers run an SSH service to let administrators connect securely from remote locations. Unfortunately for security administrators, attacks on SSH services are popular today. In this article I'll show you how can you protect machines running SSH services from brute force attacks using the pam_abl plugin for SSH pluggable authentication modules (PAM).
read more...
permapage | score:8365 | -Ray, March 28, 2007

Tutorial: Mount remote directories with SSHFS on Ubuntu 11.10

Up
vote
Down

This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Ubuntu 11.10 for both the local and the remote server. read more...
permapage | score:8362 | -falko, December 6, 2011

GDB and SSH Tunneling

Up
vote
Down

This article explains how to use GDB and ssh to debug remote processes on embedded systems. The same technique could be used to debug processes running behind firewalls.
Ever debugged a program remotely and felt like telling your computer where to go and how to get there? Hopelessly adding calls to printf() and recompiling as a steady string of explectatives flow from your over-caffeinated brain waves.

Fear not! Help is on the way.
(here are some wave prints) read more...
mail this link | permapage | score:8307 | -Curt Brune, June 13, 2006 (Updated: April 24, 2012)

sshguard: Security for OpenSSH

Up
vote
Down

Stop dictionary attacks against OpenSSH with sshguard...
OpenSSH provides a secure alternative to clear-text logins used by first-generation network protocols like Telnet and FTP. But it's not enough simply to use SSH instead of Telnet -- you have to use it wisely. If you use weak passwords with SSH, a brute force dictionary attack will reveal your secrets as easily as if your password were sent in clear text.
read more...
permapage | score:8209 | -Ray, March 9, 2007

Tutorial: Secure Chat with YTalk and SSH

Up
vote
Down

Encrypting your chat sessions with SSH.
Under normal conditions, when everybody trusts everybody else, YTalk, talk, ntalk, et cetera will work without any problems. Alas, I found the real world a little more difficult and disappointing. It turned out my buddies couldn't reach me because of firewalls. Either their firewall rules would block the UDP connection or my firewall rules would stop it. Then there was the issue of corporate firewalls and even the ISP who sometimes played the big brother by blocking certain ports for the protection of our Windows brethren. Rather than taking the time to reset my firewall to better rules and hoping my buddies could take the same effort for theirs, I opted for another approach: remote logging with SSH and using guest accounts expressly setup for the purpose.
read more...
mail this link | permapage | score:8202 | -Ray, February 19, 2003

sshpass: Automate ssh password authentication

Up
vote
Down

SSH’s (secure shell) most common authentication mode is called “interactive keyboard password authentication”, so called both because it is typically done via keyboard, and because openssh takes active measures to make sure that the password is, indeed, typed interactively by the keyboard.

Sometimes, however, it is necessary to fool ssh into accepting an interactive password non-interactively. This is where sshpass comes in. read more...
permapage | score:8199 | -gg234, May 5, 2008

FreeBSD remote install over Linux via SSH

Up
vote
Down

From the not-intended-for-mass-usage dept., the depenguinator will let you turn your Linux box into a FreeBSD box remotely. Imagine the possibilities for insecure Linux systems turning into FreeBSD systems overnight, much to the surprise of the (original) owners...
Many computer systems around the world have been possessed by penguins; some have even been possessed by dead rats. In light of this, it is desireable to exorcize these evil spirits, and replace them with a nice, friendly daemon.

I've put together some code for building a FreeBSD disk image which will boot into memory, configure the network, set a root password, and enable SSH. This can be used to "depenguinate" a Linux box, without requiring any access beyond a network connection.
read more...
mail this link | permapage | score:8197 | -Ray, January 2, 2004

SSH over Tor

Up
vote
Down

How to encrypt your traffic with SSH and tunnel it through Tor for privacy and security...
For communicating anonymously on the Internet you use Tor. For secure communications, so that nobody can read your private information you use SSH. Combine both, and you have a secure and anonymous communication. In this hack, we’ll show you how to use Tor to anonymize your SSH connections.
read more...
permapage | score:8159 | -Ray, June 4, 2007

sslh – ssl/ssh multiplexer

Up
vote
Down

sslh accepts connections on specified ports, and forwards them further based on tests performed on the first data packet sent by the remote client.Probes for HTTP, SSL, SSH, OpenVPN, tinc, XMPP are implemented, and any other protocol that can be tested using a regular expression, can be recognised. A typical use case is to allow serving several services on port 443 (e.g. to connect to ssh from inside a corporate firewall, which almost never block port 443) while still serving HTTPS on that port. read more...
permapage | score:8099 | -gg234, January 9, 2013

Opening SSH and HTTP ports with iptables

Up
vote
Down

How to use the command line to open ports on your iptables firewall under Linux.
I have to look this up from time to time, usually just after installing a new Linux system intended for use as a test server. There are GUI tools for configuring the firewall, but I usually leave the entire windowing system uninstalled.

By default, many Linux distributions will start up sshd and httpd, but you won’t be able to connect to them over the network, since the ports will be blocked by iptables. The examples below are for Red Hat or CentOS (which is basically Red Hat), and may vary slightly betweenl distributions.
read more...
mail this link | permapage | score:8071 | -Ray, January 9, 2006

Tutorial: No password SSH login

Up
vote
Down

Open SSH is the most widely used SSH server on Linux. Using SSH, one can connect to a remote host and gain a shell access on it in a secure manner as all traffic is encrypted.

A neat feature of open SSH is to authenticate a user using a public/private key pair to log into the remote host. By doing so, you won't be prompted for the remote user's password.

This tutorial will describe how to create a SSH public/private key pair, how to enable key based authentication and finally how to disable password authentication. read more...
mail this link | permapage | score:8053 | -chantra, February 1, 2007

Tutorial: Chroot SSH/SFTP on Debian

Up
vote
Down

This tutorial describes two ways how to give users chrooted SSH access. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to break out of. The users will also be able to use SFTP in their chroot jails. read more...
permapage | score:8033 | -falko, September 9, 2007

Tutorial: Kippo SSH Honeypot (CentOS 5.5)

Up
vote
Down

Kippo is a medium interaction SSH honeypot designed to log brute force attacks and, most importantly, the entire shell interaction performed by the attacker. Kippo is inspired, but not based on Kojoney. This tutorial shows how you can compile and install Kippo on a CentOS 5.5 server. read more...
permapage | score:8004 | -falko, April 3, 2011

Set up SSH with Public-Key Authentication

Up
vote
Down

This guide explains how to set up an SSH server on Debian Etch with public-key authorization (and optionally with disabled password logins). SSH is a great tool to control Linux-based computers remotely. It is safe and secure. read more...
permapage | score:8001 | -falko, March 30, 2008

Tutorial: Mount remote directories with SSHFS (Debian 6)

Up
vote
Down

This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Debian Squeeze for both the local and the remote server. read more...
permapage | score:7991 | -falko, September 22, 2011
More articles...
Abstract Art in Tallahassee

Selected articles

No, RMS, Linux is not GNU/Linux

Graffiti Server Download Page

Linux dominates Windows

Space Tyrant: A threaded C game project: First Code

Librenix T-Shirts and Coffee Mugs!

Mono-culture and the .NETwork effect

The Network Computer: An opportunity for Linux

Apple to Intel move no threat to Linux

The Real Microsoft Monopoly

Hacker Haiku

The life cycle of a programmer

Space Tyrant: A multiplayer network game for Linux

MiniLesson: An introduction to Linux in ten commands

Download: Linux 3D Client for Starship Traders

The short life and hard times of a Linux virus

Missing the point of the Mac Mini

Scripting: A parallel Linux backup script

Shadow.sh: A simple directory shadowing script for Linux

Space Tyrant: A threaded game server project in C

The Supreme Court is wrong on Copyright Case

How to install Ubuntu Linux on the decTOP SFF computer

Why software sucks

Linux vs. Windows: Why Linux will win

Space Tyrant: Multithreading lessons learned on SMP hardware

Programming Language Tradeoffs: 3GL vs 4GL

Closed Source Linux Distribution Launched

VPS: Xen vs. OpenVZ

Microsoft to push unlicensed users to Linux

Apple DIY Repair

Tutorial: Introduction to Linux files

Why Programmers are not Software Engineers

Currency Traders Telnet Game

Beneficial Computer Viruses

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin