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

test0(scp$B2D(B, sftp$B2D(B)$B$N>l9g(B

$BIaDL$K!"(Bssh$B$G%m%0%$%s$7$h$&$H$9$k$H(B
omok@lucretia:~$ ssh -l test0 172.16.0.10
test0@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 test0@172.16.0.10:/tmp test0@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 test0@172.16.0.10
Connecting to 172.16.0.10...
test0@172.16.0.10's password:
sftp> cd /tmp
sftp> mput testdata
Uploading testdata to /tmp/testdata
$B$H$J$j!"(Bsftp$B$b=PMh$^$9!#(B

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