Linux SSH2 Client/Server
The option “Compression” specifies whether to use compression during sessions. Compression
will improve communication speed and files transfers.
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.
RandomSeedFile randomjseed
The option “RandomSeedFile” specifies an alternate name for the user’s random seed file.
VerboseMode no
The option “VerboseMode” instructs ssh2 to print debugging messages about its progress. This
option is helpful in debugging connection, authentication, and configuration problems.
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’ve set up a server and do not have a GUI installed on it, we can safely turn this option off.
Password Prompt “%U’s password:”
The option “PasswordPrompt” specifies the password prompt that will be displayed for the user
when connecting to a host. Variables ‘%U’ and ‘%H’ give the user’s login name and host,
respectively.
Ssh 1 Compatibility no
The option “Ssh1 Compatibility” specifies whether or not to use SSH1 compatibility code with
SSH2 for ssh1 users.
SshiAgentCompatibility none
The option “Ssh1 AgentCompatibility” specifies whether or not to also forward SSH1 agent
connections with SSH2 for ssh1 users.
NoDelay yes
The option “NoDelay” specifies if the socket option TCP_NODELAY should be enabled. It is
recommended that you set this option to “yes” to improve network performance.
KeepAlive yes
The option “KeepAlive” specifies whether the system should send keep alive messages to the remote server. If set to “yes” then the death of the connection or crash of remote machines will be properly noticed.
QuietMode no
The option “QuietMode” specifies whether the system runs in quiet mode. This option must be set to “no” because in quiet mode, nothing is logged in the system log except for fatal errors. Since we want to have information about users sessions it is preferable to disable this option.
Configure the ‘7etc/ssh2/sshd2_config” file
The configuration file for sshd2 7etc/ssh2/sshd2_config” allows you to set options that modify the operation of the daemon. The files contain keyword-value pairs, one per line, with keywords being case insensitive. Here are the more important keywords; a complete listing is available in the man page for sshd2 (8).
Edit the sshd2_config file (vi /etc/ssh2/sshs2_config) and add or change, if necessary: