()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-08-01 16:21
solaris & linux ssh root
 ۾ :
ȸ : 14,236  

  • solaris

    Ű ġ ġ.
    - /usr/loca/etc

    (file>root)/usr/local/etc# ls
    ssh_config
    ssh_host_dsa_key
    ssh_host_dsa_key.pub
    ssh_host_key
    ssh_host_key.pub
    ssh_host_rsa_key
    ssh_host_rsa_key.pub
    sshd_config

  • vi sshd_config

    SSH ϰ Ǹ Ʈ root ȴ.
    SSH ȯ漳 sshd_config ԵǸ ߰ PermitRootLogin ̶
    ɼ ִµ κ yes Ǿִ.
    ּó κ ְ no ϸ root ȵȴ.

    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin yes  ------- >  no
    #StrictModes yes
    #MaxAuthTries 6

  • ssh ũƮ .

    (file>root)/usr/local/etc# /etc/init.d/sshd stop
    (file>root)/usr/local/etc# /etc/init.d/sshd start
    (file>root)/usr/local/etc#

  • Ȯ

    [root@test ssh]# ssh -l root 192.168.0.10
    root@192.168.0.10's password:
    Permission denied, please try again.
    root@192.168.0.10's password:
    Permission denied, please try again.
    root@192.168.0.10's password:
    Permission denied (publickey,password,keyboard-interactive).
    [root@test ssh]#



  • linux

    ⺻ ġ ġ.

    /etc/ssh

    moduli      ssh_host_dsa_key      ssh_host_key      ssh_host_rsa_key      sshd_config
    ssh_config  ssh_host_dsa_key.pub  ssh_host_key.pub  ssh_host_rsa_key.pub

  • vi sshd_config

    #LoginGraceTime 600
    PermitRootLogin yes   ------ > no  ּ .
    #StrictModes yes

  • ssh ũƮ .

    [root@test ssh]# /etc/init.d/sshd stop
    sshd () :[  Ȯ  ]
    [root@test ssh]# /etc/init.d/sshd start
    sshd :[  Ȯ  ]
    [root@test ssh]#

  • Ȯ

    (file>root)/usr/local/etc# ssh -l root 192.168.0.212
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that the RSA host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    cf:5e:93:01:34:09:0b:bd:cf:cf:0d:2d:63:67:b9:f9.
    Please contact your system administrator.
    Add correct host key in /.ssh/known_hosts to get rid of this message.
    Offending key in /.ssh/known_hosts:8
    RSA host key for 192.168.0.212 has changed and you have requested strict checking.
    Host key verification failed.
    (file>root)/usr/local/etc#




 
 

Total 185
ȣ     ۾ ¥ ȸ
185 EFI / SMI
2008/03/21 28547
184 ѱ LANG ֶ󸮽 ѱ .
2006/03/14 22023
183 M3000 - xscf network
2010/04/26 19595
182 solaris nfs .
2005/11/30 18391
181 rsync Ŭ̾Ʈ ȭ... ɼ --delete , log fil
2007/02/01 18004
180 NTP server & client .
2006/02/24 17885
179 sendmail ġ OS - solaris 9 snedmail + BerkeleyDB
2005/08/29 16129
178 ldd ̿ ̺귯 Ȯ ϱ
2010/06/14 16103
177 nslookup tracert , ping
2006/03/22 15816
176 ufsdump & ufsrestore
2007/10/08 15443
175 E4900 SC MODE & OK MODE & DOMAIN MODE
2008/01/28 14813
174 Ϲ
2006/10/11 14285
173 solaris & linux ssh root
2006/08/01 14237
172 Sun Fire Setting
2008/01/13 14203
171 TAPE Drive Ȯ
2006/02/11 14020
 1  2  3  4  5  6  7  8  9  10    
 
 
 
Administrator Login