/*--------------------------------- Steps to Build OpenSSH ------------------------------------------*/

	The following steps are done in CF card. 

0.	Get into the card

		> chroot /mnt/hda
	
1. 	Download source codes and untar them under a directory, for example "/root".

		> tar zxvf openssh-3.9p1.tar.gz
	
	change directory to "openssh-3.9p1", the home directory, you would find a file "configure".
	
2.	Generate the file "Makefile". 

		> ./configure CC=xscale-linux-gcc CFLAGS=-O2 --host=xscale-linux --build=xscale-linux --without-xauth --prefix=/etc/ssh --exec-prefix=/usr

3.	Make sure you have ssl libraries: "libssl.so.0.9.7" and "libcrypto.so.0.9.7" at /usr/lib and ssl header
	files at /usr/include/openssl. Compile the programs.

		> make
		
	you should find the following programs under current directory.

		sshd			-->		/usr/sbin/
		ssh				-->		/usr/bin/
		ssh_add			-->		/usr/bin/
		ssh_agent		-->		/usr/bin/
		ssh_keygen		-->		/usr/bin/
		ssh_keyscan		-->		/usr/bin/
		sftp			-->		/usr/bin/
		scp				-->		/usr/bin/
		
	The directories shown behind the arrow signs are the ones that would finally reside 
	at the target machine.
	
		> make install
		
4.	NOTES:

	1. To start the daemon, "sshd", you need a configuration file "sshd_config" which resides at a 
		default directory /etc/ssh. This version of ssh has almost the same settings as its previous 
		version "3.0.2p1".So, don't worry about it.
		
			>/etc/init.d/ssh start
	
	2. To test the cipher algorithms one-by-one, set a parameter in "sshd_config" as the following,
	
			Ciphers 3des-cbc
		
		This parameter can contains more than one algorithms. Between algorithms' name, there are  
		comma signes. For example
	
			Ciphers "aes128-cbc, aes192-cbc, 3des-cbc"
		
		Commenting out this line would let the daemon accept all the cipher algorithms the system 
		supports. However, among them, it takes "aes256-cbc" as a default.
	
		
	
	
	
		
