[:       OpenSSH 1.2   
.     ӣ ݣ     
,    .]

    ,       ssh. 
     .

Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>
 17  1995.
 19  1999  OpenSSH-1.2
 20  2001  -   OpenSSH > 1.2

    ssh (), sshd (), scp, sdist
   ssh-keygen, ssh-agent, ssh-add  
make-ssh-known-hosts.          .c
  .

  /,   .

   .

	-    ,    
	 .        
	.  	   ssh.  
	     buffer.c ( 
	 buffer.h),     
	    bufaux.c.

   

	- Ssh     GNU GZIP (ZLIB).

 /

	- Ssh    .    
  ,   cipher.h.     cipher.c, 
   -  libc.

        .

	-   SSLeay BIGNUM.

  

	-  arc4random()   .

   RSA, , 

	- Ssh  RSA-  libssl.

   RSA

	-  RSA     .   /
	    authfile.c. ,  , 
	.       readpass.c
	
   

	-    ssh   packet.c.   packet.c 
	     ;     
	 ,  ,    ,   
	  /  .   CRC  
	  crc32.c.

	-   packet.c     (buffer.c,
	bufaux.c),   (compress.c, zlib)  .

 X11, TCP/IP    

	-      (forwarding)   
	channels.c.	     (framework)  
		  ݣ ,     
	  X11,	TCP/IP   .	
	  (Protocol 1.5)   nchan.c

  

	-         authfd.c

  

	-        auth-*.c
	(auth-passwd.c, auth-rh-rsa.c, auth-rhosts.c, auth-rsa.c).  
	c .       hosts 
	  hostfile.c.   canohost.c    
	  ̣ .   match.c   
	 ͣ .

	-       sshconnect.c.  
	,    readpass.c,  RSA ,  authfile.c. 
	      authfd.c.

  ssh

	-      ssh.c.  , 
	      (readconf.c), 
	  ssh_connect ( sshconnect.c)    
	 (,  -),   
	(ssh_login  sshconnect.c).     
	- (pty),    .  
	    ttymodes     
	.     client_loop  clientloop.c, 
	     .

	-       suid root,  
	     .   
	     ( 
	).       
	ssh_login.

  -   .

	-    -   pty.c.   
	      ttymodes.c.

   ( utmp, lastlog,  ..)

	- ,   ,    ,
	  login.c.    ,   
	utmp, wtmp	 lastlog.      sshd.c.

      

	-       fatal(), log(), debug(),
	error()        
	. ,   ,   
	log-server.c,   .  
	 ,      
	.    log-client.c.    ssh.h.

 sshd  ()

	-  sshd        
	 (servconf.c).      (host
	key),        .
	    .

	-       fork, 
	       .
	    ,  
	,	   ,  
	, , ,       
	   server_loop  serverloop.c,    
	,     .

	-     sshd.c.    , :
	-   
	-  
	-   
	- 
	-  
	-      .
	-   .

  .

	-      , 
	  :
	ssh.h	      ssh ( )
	uidswap.c   uid
	xmalloc.c  ""  malloc

$OpenBSD: OVERVIEW,v 1.11 2006/08/03 03:34:41 deraadt Exp $
$  ң <ErV2005@rambler.ru> 2007 $