export JAVA_HOME=/usr/local/java
export PATH=
P
A
T
H
:
PATH:
PATH:JAVA_HOME/bin
export CLASSPATH=.:
J
A
V
A
H
O
M
E
/
l
i
b
/
d
t
.
j
a
r
:
JAVA_HOME/lib/dt.jar:
JAVAHOME/lib/dt.jar:JAVA_HOME/lib/tools.jar
export JRE_HOME=$JAVA_HOME/jre
/home/workspace *(rw,no_root_squash)
mount -t nfs 172.17.0.28:/root /home/workspace
172.17.0.28:/root /home/workspace nfs defaults 0 0
useradd -g sftp -s /bin/false scftp
passwd scftp
sudo chmod 755 /scfFTP
sudo chmod 755 /scfFTP
mkdir -p /scfFTP/tmp/
usermod -d /scfFTP/tmp scftp
usermod -d /scfFTP/tmp scftp
Subsystem sftp internal-sftp -l INFO -f AUTH
AllowGroups sftponly
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /home/scfup
ForceCommand internal-sftp -l INFO
chown root:sftp /scfFTP/tmp
chmod 755 /scfFTP/tmp 172.17.0.16
Subsystem sftp internal-sftp
Match Group sftp
ChrootDirectory /scfFTP/%u
ForceCommand internal-sftp
AllowTcpForwarding no
X11Forwarding no