Archive for the Tutorial

Sshd on Windows

This is a simple tutorial how to run the OpenSSH SSHD server on Windows using Cygwin.
SSH is typically used to log into a remote machine and execute commands, but it also supports tunneling, forwarding arbitrary TCP ports and X11 connections; it can transfer files using the associated SFTP or SCP protocols. SSH uses the client-server protocol.
OpenSSH (SSH1 and SSH2 protocol) with Cygwin can run on Windows, which can be either built from source or installed as a Cygwin native package.
Here we go…
First, we need to install the following Cygwin packages (cygrunsrv and openssh)

Admin –> cygrunsrv
Net –> openssh

Next, open a new bash shell window and run the SSH configure stuff.

ssh-host-config -y

This step will create necessary configuration files, a privilege separation user and necessary directories.
When prompted with “CYGWIN=” type for following:

tty ntsec

Now you are ready to start the service

cygrunsrv -S sshd

Give a try to connect to your ssh server (localhost) with your favorite ssh client, such as PuTTY, Xshell, etc.
That’s it and gud lak!

Tags: , ,

Ubuntu Cheat Sheet

FOSSwire have posted a PDF “Ubuntu Cheat Sheet,” covering the basic terminal commands one might have to use and, just as importantly, naming important programs and packages.
With “Ubuntu Cheat Sheet”, you don’t end up deleting or messing with something that’ll cause headaches down the line.
You can learn how to use Ubuntu with command line
Ubuntu Cheat Sheet [FOSSwire]