[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:49944] Re: パスワードなしでrsyncができない件について



$B>.LZA>$G$9!#(B

On Sun, 30 Dec 2007 11:54:26 +0900
eonet <sasatue@xxxxxxxxxxxxxxxx> wrote:

> $B#A$,(Bdebian$B$J$N$G$9$,!"(B
$B$"$j$c!"5U$G$7$?$+!#!VAw$j<j!W!V<u$1<j!W$H8@$o$l$k$N$O$4<+J,$@$1$NDj5A(B
$B$G$"$C$F!"C/$+$K<ALd$9$k>l9g$K$O%5!<%P!"%/%i%$%"%s%H$HL@3N$KJ,$1$k$HNI(B
$B$$$G$9$h!#(B
$B=PMh$l$PN,?^$r=q$$$F!#!#(B

> sshd_config$B$G$O(B
> protocol 2
> # HostKeys for protocol version 2
> HostKey /etc/ssh/ssh_host_rsa_key
> HostKey /etc/ssh/ssh_host_dsa_key
$BB>$GDs<($5$l$F$?%m%0$r8+$FJ,$C$?$N$G$9$,!"(Bssh$B%5!<%P$O(Bsarge$B$G$9$M!#(B
$B$O$$!"$3$l$G$O(Bprotocol2$B$7$+<u$1IU$1$^$;$s!#(B
 $ ssh-keygen -t dsa
$B$G80%Z%"@8@.$9$k$Y$-$G$9$M(B
$B!#(BRSA: protcol1, DSA: protocol2 $B$G$9!#(B
$B$^$?$O!">e$N(Bsshd_config$BFb(B protocol$B9T$r(Bprotocol 1,2$B$H$7$F$7$^$&$+!#(B
$B%M%C%H%o!<%/4D6-$dMQES$K$b$h$j$^$9$,%;%-%e%j%F%#LL$G(Bprotocol2$B$H(BDSA$B%-!<(B
$B$r;H$&J}$,NI$$$G$7$g$&$M!#(B

> $B$=$l$KBP$7$FAw$j<jB&#B$N(Bsshd_config
$B$d$O$j(Brsync$B%3%^%s%I$rBG$DC<Kv$G$9$h$M!#!V2?$rAw$k!W$s$G$7$g$&!#!#(B
> # HostKey for protocol version 1
> #HostKey /etc/ssh/ssh_host_key
> # HostKeys for protocol version 2
> #HostKey /etc/ssh/ssh_host_rsa_key
> #HostKey /etc/ssh/ssh_host_dsa_key
$B$3$A$i$O(Bssh$B%/%i%$%"%s%H$5$(F0$1$PNI$$$N$G$3$N7o$K$O4X78$J$$$G$9$,A4It%3(B
$B%a%s%H%"%&%H$5$l$FBg>fIW$+$J!#(BRedhat$B$N%I%-%e%a%s%HFI$^$J$$$HH=$i$J$$!#!#(B
$B$?$@(Bssh$B$=$N$b$N$,(Bprotocol1$BL58z$G%S%k%I$5$l$F$?$j$9$k$+$bCN$l$^$;$s!#(B
$B!J$=$s$J%S%k%I%*%W%7%g%s$NM-L5$OD4$Y$F$^$;$s$,!K(B

ssh$B%/%i%$%"%s%H!"$D$^$j(B[B]$B$,(BDebian Sarge$B$G$"$l$P(Bauthorized_keys$B$N%Q!<%_(B
$B%C%7%g%s$O4X78$J$$$h$&$G$9!#$G$b(B0600$B$K$7$F$*$/J}$,0B?4$G$7$g$&$M!#(B
$B%Q%9%U%l!<%:M-(B+ssh-agent$B$H$9$k$+!"%Q%9%U%l!<%:L5!#$H$9$k$+$O4D6-$dMQES$K(B
$B1~$8$F7h$a$F2<$5$$!#(B
$B!JNc$($P%m!<%+%k%"%?%C%/$,$"$jF@$k4D6-$+H]$+!"$J$I$G$7$g$&$+!K(B