next up previous
$B $B$3$NJ8=q$K$D$$$F(B... $B>e$X(B: $B $BLa$k(B: test1(scp$B2D(B, sftp$B%@%a(B)$B$N>l9g(B

test2(scp$B%@%a(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 test2 172.16.0.10
test2@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
test2@172.16.0.10's password:

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

lost connection
$B$H$J$j!"(Bscp$B$O5qH]$5$l$^$9!#(B $B:G8e$K(Bsftp$B$r%F%9%H$7$^$9!#(B
omok@lucretia:~$ sftp test2@172.16.0.10
Connecting to 172.16.0.10...
test2@172.16.0.10's password:
sftp> cd /tmp
sftp> mput testdata
Uploading testdata to /tmp/testdata
$B$H$J$j!"(Bsftp$B$O2DG=$G$9!#(B

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