Linux SSH2 Client/Server | All about OS

Linux SSH2 Client/Server

Категория: Securing and Optimizing

#    sshd2_config
#    SSH 2.0 Server Configuration File
This tells sshd2_config file to set itself up for this particular configuration setup with:
Port 22
The option “Port” specifies which port number the ssh2 daemon listens to for ssh incoming
connection. The default port is 22.
ListenAddress 192.168.1.1
The option “ListenAddress” specifies the IP address of the interface network on which the ssh2 daemon server socket is bound. The default is “0.0.0.0″; to improve security you may specify only the required ones to limit possible addresses.
Ciphers blowfish
The option “Ciphers” specifies what cipher should be used for encrypting sessions. The blowfish
uses 64-bit blocks and keys of up to 448 bits.
IdentityFile identification
The option “IdentityFile” specifies an alternate name for the user’s identification file.
AuthorizationFile authorization
The option “AuthorizationFile” specifies an alternate name for the user’s authorization file.
HostKeyFile hostkey
The option “HostKeyFile” specifies an alternate file containing the private host key. The default is
7etc/ssh2/hostkey”.
PublicHostKeyFile hostkey.pub
The option “PublicHostKeyFile” specifies an alternate file containing the public host key. The
default is 7etc/ssh2/hostkey.pub”.
RandomSeedFile randomjseed
The option “RandomSeedFile” specifies an alternate name for the user’s random seed file.
ForwardAgent no
The option “ForwardAgent” specifies which connection authentication agent (if any) should be
forwarded to the remote machine.
ForwardX11 no
The option “ForwardX11″ is for people that use the Xwindow GUI and want to automatically redirect X11 sessions to the remote machine. Since we set up a server and don’t have a GUI installed on it, we can safely turn this option off.
PasswordGuesses 3
The option “PasswordGuesses” specifies how many tries the user has when using password
authentication.
MaxConnections 5
The option “MaxConnections” specifies what the maximum number of connections that ssh2
daemon will handle simultaneously is.
PermitRootLogin no

Страниц: 1 2 3 4 5 6

« Configure OpenSSH to use TCP-Wrappers inetd super server
Configure sshd2 to use top-wrappers inetd super server »