()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-10-04 14:50
openssh ġ. OS - solaros 9
 ۾ :
ȸ : 10,963  
-openssh ? -

openssh telnet , ftp , rlogin , rsh ,rcp üϴ ϰ, ȣȭ Ʈũ Դϴ. OpenSSH SSH protocol ϴ α׷, internet data ȣȭѼ մϴ. telnet ftp ȣ Ͽ ȣȭ ä մϴ. ߰ ä ȣ ɼ ֽϴ.

ġ

 - openssl-0.9.8 , openssh-4.0p1 ,

ٿε

http://www.openssh.org  ----- openssh-4.0p1

http://www.openssl.org  ----- openssl-0.9.8

http://www.sunfreeware.com ----- zlib

http://www.sunfreeware.com ----- gcc

---------------------------------------------------------------------------------

⺻ ġ .

- zlib : zip gzip ǰ ִ ˷θ ̺귯ȭ Դϴ.zip
          ϰų ݰ ....

- libgcc : gcc ̺귯 .

- gcc : Ϸ....

- openssl : OpenSSL ȣ̷ SSL ׸ PKI  ְ
                ؼ Ʈ ̷ ִ ȣ Դϴ.

- ҽ ġ error ؿ Ȯ Ͻñ ٶϴ. ġ
  鼭 Դ ַ ϴ.

---------------------------------------------------------------------------------

 - openssl ġ -

(test>root)/data# gunzip openssl-0.9.8.tar.gz
(test>root)/data# tar xvf openssl-0.9.8.tar
(test>root)/data/openssl-0.9.6# ./config --prefix=/usr/local/openssl
(test>root)/data/openssl-0.9.8#make
(test>root)/data/openssl-0.9.8#make install

---------------------------------------------------------------------------------

 - openssh ġ -

(test>root)/# cd /data
(test>root)/data# gunzip openssh-4.0p1.tar.gz 
(test>root)/data# tar xvf openssh-4.0p1.tar
(test>root)/data# cd openssh-4.0p1
(test>root)/data/openssh-4.0p1# ./configure --prefix=/usr/local/openssh --with-ssl-dir=/usr/local/ssl/ --with-tcp-wrappers --with-pam --with-md5-passwords


 --prefix : ġ .....

 --with-ssl-dir= : ssl ġ 丮

 --with-tcp-wrappers  ---

 --with-pam ---

 --with-md5-passwords --- (ؽ ˰̶ մϴ.MD5 Է
    ϳ ޽)κ 128 Ʈ ޽ ν
    Ἲ ϴµ Ǵ ˰̴.MD5 ˰ MD4 Ȯε, MD
  4 ӵ , ȼ ־ Ȯ մϴ.)

 - openssh ġÿ ⺻ openssl ġ Ǿ ˴ϴ.
    ࿡ openssh openssl ġ ϰ ......

(test>root)/data/openssh-4.0p1# ./configure --prefix=/usr/local/openssh --with-ssl-dir=/usr/local/ssl/


----ġ .

OpenSSH has been configured with the following options:
                    User binaries: /usr/local/openssh/bin
                  System binaries: /usr/local/openssh/sbin
              Configuration files: /usr/local/openssh/etc
                  Askpass program: /usr/local/openssh/libexec/ssh-askpass
                      Manual pages: /usr/local/openssh/man/manX
                          PID file: /var/run
  Privilege separation chroot path: /var/empty
            sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/openssh/bin
  (If PATH is set in /etc/default/login it will be used instead. If
  used, ensure the path to scp is present, otherwise scp will not work.)
                    Manpage format: man
                      PAM support: yes
                KerberosV support: no
                Smartcard support: no
                    S/KEY support: no
              TCP Wrappers support: yes
              MD5 password support: yes
      IP address in $DISPLAY hack: no
          Translate v4 in v6 hack: no
                  BSD Auth support: no
              Random number source: OpenSSL internal ONLY

              Host: sparc-sun-solaris2.9
          Compiler: gcc
    Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
Preprocessor flags: -I/usr/loca/openssl/include
      Linker flags: -L/usr/loca/openssl/lib -R/usr/loca/openssl/lib
        Libraries: -lwrap -lpam -ldl -lresolv -lcrypto -lrt -lz -lsocket -lnsl

SVR4 style packages are supported with "make package"\n
PAM is enabled. You may need to install a PAM control file
for sshd, otherwise password authentication may fail.
Example PAM control files can be found in the contrib/
subdirectory

WARNING: the operating system that you are using does not
appear to support either the getpeereid() API nor the
SO_PEERCRED getsockopt() option. These facilities are used to
enforce security checks to prevent unauthorised connections to
ssh-agent. Their absence increases the risk that a malicious
user can connect to your agent.

(test>root)/data/openssh-3.9p1#

---------------------------------------------------------------------------------

 - ġ -

1. make install error code 255

-- --

cb:01:54:fd:5e:e5:b6:12:e4:b1:4d:ef:3d:a2:b7:15 root@test
/usr/local/openssh/sbin/sshd -t -f /usr/local/openssh/etc/sshd_config
Privilege separation user sshd does not exist
*** Error code 255 (ignored)

Privilege separation user sshd does not exist <=== user group  ׷..
(test>root)/data/openssh-4.0p1# groupadd sshd
(test>root)/data/openssh-4.0p1# useradd -g sshd sshd
(test>root)/data/openssh-4.0p1#

2. sshd localhost test remote host error

ssh_exchange_identification: Connection closed by remote host

--- tcp_wrapper 쿡 Ÿ ϴ.

(test>root)/data/openssh-4.0p1#vi /etc/hosts.allow

sshd:ALL ߰.....

wq!

3.openssh ġ make error

ǵ                   ù°
 ȣ                      :
dlsym                              /usr/loca/openssl/lib/libcrypto.a(dso_dlfcn.o)  (Ͻ /usr/lib/libdl.so.1 ȣ)
dlopen                              /usr/loca/openssl/lib/libcrypto.a(dso_dlfcn.o)  (Ͻ /usr/lib/libdl.so.1 ȣ)
dlclose                            /usr/loca/openssl/lib/libcrypto.a(dso_dlfcn.o)  (Ͻ /usr/lib/libdl.so.1 ȣ)
dlerror                            /usr/loca/openssl/lib/libcrypto.a(dso_dlfcn.o)  (Ͻ /usr/lib/libdl.so.1 ȣ)
ld: ġ: ȣ . ssh ϵ
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ssh'

޽ Ÿ ġ ߻ ִ ġϿ 䱸ϴ
߻ ֽϴ.

OpenSSH INSTALL README ø
ġϴµ ʿ 䱸 ϵǾ ֽϴ.
OpenSSH ʿ OpenSSL ٸ
䱸׿ ´ OpenSSL ġϿ ּž մϴ.
ʿ 䱸 ϰ ִ Ȯ
Ͻ Ŀ ġϼž մϴ.

4.openssl ġ .....
 tar Ǯ Configure ϰ config ֽϴ. ΰ
߸𸣰...

./Configure solaris-sparcv9-gcc no-idea no-mdc2 no-rc5 no-md2 --prefix=/usr/local/ssl --openssldir=/usr/local/ssl

---------------------------------------------------------------------------------

 
 

Total 185
ȣ     ۾ ¥ ȸ
155 sendmail daemon ϱ (ȡ
2005/12/21 11267
154 solaris sparc solaris x86
2007/05/14 11264
153 v440 on-board differential scsi
2009/11/10 11252
152 sendmail: unqualified host name/unable to qualify my own dom
2006/03/29 11250
151 Timeout waiting for ARP/RARP packet ---- ok mode .....
2005/11/29 11175
150 NTP (Network Time Protocol) ġ OS - solaris 9 s
2005/08/25 11125
149 solaris display
2009/10/16 10998
148 solaris 10 sendmail
2010/05/17 10988
147 openssh ġ. OS - solaros 9
2005/10/04 10964
146 SC ( NETMGT )
2008/03/04 10932
145 vmstat
2006/11/21 10692
144 sendmail collect: I/O error on connection
2010/06/25 10606
143 T2000 OS ġ px1: spurious interrupt from ino
2009/09/04 10510
142 E3500 Boot Disk dump ü ۵ .
2007/09/18 10445
141 sun Һ , ߿ , Է
2006/03/13 10421
 1  2  3  4  5  6  7  8  9  10    
 
 
 
Administrator Login