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

  • 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
ȣ     ۾ ¥ ȸ
110 ý ޽.
2006/10/16 8327
109 RPC ( Remote Procedure Call) ȣ
2006/10/12 9545
108 SunLink X.25 ġ
2006/10/12 8053
107 Ϲ
2006/10/11 14284
106 solaris snmp
2006/10/10 8978
105 solaris system å
2006/10/10 7074
104 bind ũƮ
2006/09/26 5477
103 E3500 400Mhz/8M Cache CPU
2006/09/14 7456
102 solaris 8 ---- nameserver & sendmail ġ
2006/08/30 9072
101 E3500 mirror disk metareplace -e c#t#d#s#
2006/08/30 12937
100 v240 FRU
2006/08/14 6996
99 solaris & linux ssh root
2006/08/01 14235
98 Solaris 8 Sparc sshġ
2006/08/01 9705
97 solaris 9 & solaris 10 hostname
2006/04/12 10343
96 disksuite raid 5 .
2006/04/11 7784
 1  2  3  4  5  6  7  8  9  10    
 
 
 
Administrator Login