10_3_ssh

download 10_3_ssh

of 8

Transcript of 10_3_ssh

  • 7/26/2019 10_3_ssh

    1/8

    10 3/3

    OpenSSHThis work is licensed under the Creatie Co!!ons "ttri#ution$%onco!!ercial$%o &eriatie 'orks 3(0)icense( To iew a cop* o+ this license, isit http-//creatieco!!ons(or./licenses/#*$nc$nd/3(0/ or send a

    letter to Creatie Co!!ons, 11 Second Street, Suite 300, San rancisco, Cali+ornia, 210, 4S"(

  • 7/26/2019 10_3_ssh

    2/8

    567879:7

    ; OpenSSH

    ;?7A:=AB::

    9AD?@6 ? 9E:FG>AB:99D: EAIAD:

    J?KL=6A9:7 G@::@ scp, ssh, s+tp

    M>:D7> :?KL=6A9:N ssh 8NA6@>:=AB:: N : K7>79AK>A679:7K>@6

  • 7/26/2019 10_3_ssh

    3/8

    (c) 2007, 3

    ; OpenSSH

    ;@G SSH

    sshd, SSH 87D9

    ssh, =AD79A 8N rlo.in : telnet scp, =AD79A 8N rcp

    s+tp, =AD79A 8N +tp

    5=DQ9 :?KL=6A@L ?6D7?@9 ? 8>GF:D M; 8N

    >FA9:=AB:: AADAR K>7@A OpenS&

    ;E:B:AL9I ?AI@- http-//www(openssh(or./

  • 7/26/2019 10_3_ssh

    4/8

    (c) 2007, 4

    ;?7A:=AB::

    MA7@- openssl, opensshU

    M>@- VV WtcpX

    Y>:K@- /etc/rc(d/init(d/sshd

    Z7D9 ?DK::>6A9 ? K887>QI li#wrap

    [9E:FG>AB:N : \:- /etc/ssh/U] ^/(ssh

  • 7/26/2019 10_3_ssh

    5/8

    (c) 2007, 5

    M>:D7> :?KL=6A9:N G@::@:79@A

    ssh

    scp

    s+tp

  • 7/26/2019 10_3_ssh

    6/8

    (c) 2007, 6

    ssh$ke*.en

    ssh$ke*.en $t rsa

    scp ^/(ssh/id_rsa(pu#serer-/ho!e/user/authori`ed_ke*s

    cat authori`ed_ke*s (ssh/authori`ed_ke*s

    ch!od 200 (ssh/authori`ed_ke*s

  • 7/26/2019 10_3_ssh

    7/8

    (c) 2007, 7

    M7>79AK>A679:7 K>@6

    "llowTcporwardin. *es K GDA9:\

    ssh $) 0111-localhost-V $% userbre!ote

    telnet localhost 0111

    mailto:user@remotemailto:user@remote
  • 7/26/2019 10_3_ssh

    8/8

    (c) 2007, 8

    M[JfY[g ;

    J?KL=6A9:7OpenSSH