next up previous
$B test2(scp$B%@%a(B, sftp$B2D(B)$B$N>l9g(B $B>e$X(B: $B $BLa$k(B: test0(scp$B2D(B, sftp$B2D(B)$B$N>l9g(B

test1(scp$B2D(B, sftp$B%@%a(B)$B$N>l9g(B

$BIaDL$K!"(Bssh$B$G%m%0%$%s$7$h$&$H$9$k$H(B
omok@lucretia:~$ ssh -l test1 172.16.0.10
test1@172.16.0.10's password:

This account is restricted to scp or sftp only.  If you believe
 this is in error, please contact your system administrator.

Connection to 172.16.0.10 closed.
$B$H$J$j$^$9!#(B
$B
omok@lucretia:~$ scp ./testdata test1@172.16.0.10:/tmp
test1@172.16.0.10's password:
testdata             100% |*****************************|   100       00:00
$B$H$J$j!"(Bscp$B$O2DG=$G$9!#(B $B:G8e$K(Bsftp$B$r%F%9%H$7$^$9!#(B
omok@lucretia:~$ sftp test1@172.16.0.10
Connecting to 172.16.0.10...
test1@172.16.0.10's password:
Connection closed
$B$H$J$j!"(Bsftp$B$O5qH]$5$l$^$9!#(B

Kazuki Omo $BJ?@.(B15$BG/(B1$B7n(B14$BF|(B