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

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:9523 | -gg234, January 9, 2013

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:9226 | -finid, November 9, 2012

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:9187 | -pkrumins, May 7, 2010

SSH Tricks

Up
vote
Down

Cool tips and tricks for SSH, including X forwarding, (s)ftp, remote filesystem mounting, and an SSH SOCKS function...
Most Linux users already know the bare basics of using OpenSSH. You use ssh to get a secure shell into a remote system, sftp for Secure FTP, and scp for copying files. All well and good.

But OpenSSH can do quite a bit more than many users realize. Let's take a look at some of the things you can do with OpenSSH and associated tools.
read more...
permapage | score:9164 | -Ray, January 20, 2011

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:9032 | -falko, September 22, 2011

OpenWRT SSH

Up
vote
Down

Build an OpenWRT SSH server on a cheap, diskless, fanless, noiseless and very power-efficient home router...
Now I can tunnel my traffic through SSH using a home router with Linux. It was easy to set up and cheap. And I needed a router at home anyway. I have a basic Linux-like system, and the most interesting for me: OpenSSH. Also, it is small, quiet, power effective and reliable.

There are two popular Linux-based firmware projects for routers: OpenWrt and DD-WRT. The first thing you have to do is to pick the one you want. Check supported hardware before you decide.
read more...
mail this link | permapage | score:9032 | -Ray, December 20, 2010

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:8805 | -Curt Brune, June 13, 2006 (Updated: April 24, 2012)

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:8760 | -gg234, May 5, 2008

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:8759 | -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:8702 | -falko, March 30, 2008

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:8661 | -chantra, February 1, 2007

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:8657 | -Ray, March 28, 2007

Tutorial: OpenSSH Security Practices

Up
vote
Down

OpenSSH is the implementation of the SSH protocol. OpenSSH is recommended for remote login, making backups, remote file transfer via scp or sftp, and much more. SSH is perfect to keep confidentiality and integrity for data exchanged between two networks and systems. However, the main advantage is server authentication, through the use of public key cryptography. From time to time there are rumors about OpenSSH zero day exploit. Here are a few things you need to tweak in order to improve OpenSSH server security. read more...
mail this link | permapage | score:8564 | -nixcraft, July 27, 2009

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:8496 | -Ray, November 11, 2008

SSHFS Tutorial: How to use the SSH filesystem

Up
vote
Down

This short and sweet article has the steps you need to set up and use sshfs.
SSHFS is a really nice piece of software, because it just makes your life just a bit easier. It can 'mount' a directory of a remote SSH server and you can use it as a normal directory.
read more...
permapage | score:8436 | -Ray, August 23, 2006 (Updated: March 24, 2007)

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:8416 | -Ray, January 2, 2004

Secure NFS: Tunneling NFS over SSH

Up
vote
Down

The goal of this howto is building an NFS server that works on an SSH tunnel. This way all traffic between your hosts and the file server is encrypted and thus more secure. Normally you should enter a password every time you try to establish an SSH connection but since we could be mounting at bootup we will use ssh-keygen to create a keypair so we can login without entering a password. We will, however, limit that login session to executing just one command. read more...
permapage | score:8415 | -falko, September 28, 2006

Compiling OpenSSH on Ubuntu Server

Up
vote
Down

Find out how to compile OpenSSH on the latest version of Ubuntu, Ubuntu 7.04 Feisty Fawn Server, to get safely connected to your remote servers.
Installing the OpenSSH client and server on Ubuntu is as easy as typing "sudo apt-get install openssh" at a terminal prompt. However, this will install Portable OpenSSH version 4.3p2[-8ubuntu1]. Unfortunately for users, this version of Portable OpenSSH does not include the "Match" functionality added to the SSH server in version 4.4p1, that "allows some configuration options to be selectively overridden if specific criteria (based on user, group, hostname and/or address) are met."
read more...
mail this link | permapage | score:8391 | -estride, May 31, 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:8372 | -Ray, February 19, 2003

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:8340 | -Ray, January 9, 2006
More articles...
Abstract Art in North Florida

Selected articles

Librenix T-Shirts and Coffee Mugs!

The life cycle of a programmer

The Real Microsoft Monopoly

Space Tyrant: A threaded game server project in C

Tutorial: Introduction to Linux files

MiniLesson: An introduction to Linux in ten commands

Programming Language Tradeoffs: 3GL vs 4GL

The Supreme Court is wrong on Copyright Case

Microsoft to push unlicensed users to Linux

Closed Source Linux Distribution Launched

Apple to Intel move no threat to Linux

Apple DIY Repair

Beneficial Computer Viruses

Missing the point of the Mac Mini

Graffiti Server Download Page

VPS: Xen vs. OpenVZ

The Network Computer: An opportunity for Linux

The short life and hard times of a Linux virus

Space Tyrant: Multithreading lessons learned on SMP hardware

Why software sucks

Linux vs. Windows: Why Linux will win

Hacker Haiku

Download: Linux 3D Client for Starship Traders

Space Tyrant: A threaded C game project: First Code

Currency Traders Telnet Game

Why Programmers are not Software Engineers

Shadow.sh: A simple directory shadowing script for Linux

Mono-culture and the .NETwork effect

Scripting: A parallel Linux backup script

No, RMS, Linux is not GNU/Linux

How to install Ubuntu Linux on the decTOP SFF computer

Linux dominates Windows

Space Tyrant: A multiplayer network game for Linux

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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