|
SSH
From EScriptIRC, The IRC-related documentation wiki
Contents |
What is SSH?
Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, leaving them open for interception. The encryption used by SSH provides confidentiality and integrity of data over an insecure network, such as the Internet. Most people use SSH for managing their IRC networks
Firstly, compiling.
Firstly, you should read the documentation for the software you want to compile, usually there is README or INSTALL files. compiling usually takes a few simple commands (If there is a configure script, of coarse). Check to see if there is a Config script too (You can find this out by typing 'ls' in the directory you want to compile). If there is a Config script, it's probably more options to set. Below are some examples of how to compile.
If there is a Config script:
- ./Config
- make
- make install
If not...
- ./configure
- make
- make install
You can also use gmake instead of make, Some operating systems don't have this.
SSH clients
Here are a list of SSH clients, http://en.wikipedia.org/wiki/Comparison_of_SSH_clients
The best one for windows is PuTTY, and for linux just use your terminal (ssh user@ip -p port) where -p port is the port, for example -p 2222 (But of coarse, linux users don't really need to read this article)...
Common commands.
Here is a list of frequently used commands in a Bash shell.
- make - http://en.wikipedia.org/wiki/Make_(software)
- gmake - Alternative to make - http://en.wikipedia.org/wiki/Gmake#Modern_versions
- top - http://en.wikipedia.org/wiki/Top_(Unix)
- ps - http://en.wikipedia.org/wiki/Ps_(Unix)
- Add more!
Securing a box/shell account
Many users tend to run a home *nix box, or atleast have shell accounts. You really want to secure both which you can; simply by creating a strong password. If your password isn't strong then you may be in for a shock.
To change your password, you can simply type:
$ passwd
or
$ passwd username
You can also try to stop multiple failed logins, simply by using the DenyHosts software. This can be found at http://denyhosts.sourceforge.net/
This article is not protected, hoping that users can expand it. As soon as any vandalism arises then we will not hesitate to lock it.
