SSH
Developed by SSH Communications Security Ltd., "Secure Shell" is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over insecure channels. It is a replacement for rlogin, rsh, rcp, and rdist. SSH protects a network from attacks such as IP spoofing, IP source routing, and DNS spoofing.
Taken from http://www.saol.com/glossary.asp
Contents |
Subpages
- Protect your SSH server against brute force attacks using DenyHosts
- Protect your SSH server against brute force attacks using IPTables
- Protect your SSH server against brute force attacks using sshdfilter
- Protect your SSH server against brute force attacks using Swatch
Encryption
SSH supports many encryption techniques including:
- AES256
- 3DES
- Blowfish
- Twofish
- Arcfour
- CAST
- DES
Installation
The default implementation of ssh is openssh. To install run
emerge -av openssh
Server Setup
OpenSSH consists of two parts: a client and a server. The server is run as a daemon and has its initscript in /etc/init.d/sshd. The configuration file is at /etc/ssh/sshd_config. Before starting up an ssh server take a look through the configuration file. One thing that you will most likely want set is PermitRootLogin no code>. This disables logins as root which means that in order to log in, an attacker first must login as a regular user (in the wheel group) and then su. This would require knowing 2 passwords as well as a username with su access making bruteforce attacks nearly impossible.
To start the ssh server
/etc/init.d/sshd start
To start it by default
rc-update add sshd default
Client Usage
The command ssh code> is used to connect with ssh to a server. You can test ssh right from you own computer by running
ssh localhost
Note that you will have to have sshd running to do this. This will connect via ssh to your own computer using your own username. It will prompt for your password. Once you type that in it will drop you into a shell, probably almost exactly the same as the one you were in before. In order to leave just type exit code> or ctrl+d . Connecting to remote servers is basically the same
ssh username@domain.name
External Links
Browse categories > Applications > Network > OpenSSH
Browse categories > Gentoo Linux Wiki > Wiki maintenance > Articles to be merged
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should list their apartments, townhouses and units in Australia.
