SFTP Server (SSH File Transfer Protocol) based on Apache MINA SSHD
. Open Source Java project under Apache License v2.0
Current Stable Version is 1.0.1
#
## Global Options
#
# Listen on TCP port 22222
sftpserver.global.port=22222
# Enable compression (requires jzlib) (default: false)
sftpserver.global.compress=true
# Enable dummy shell (default: false)
sftpserver.global.dummyshell=true
#
## Configure user "test"
#
# Password for user
sftpserver.user.test.userpassword=clean-unencripted-password
# Set user home directory (chrooted)
sftpserver.user.test.homedirectory=./home/test/
# Enable user (default: false)
sftpserver.user.test.enableflag=true
# Enable write (default: false)
sftpserver.user.test.writepermission=true
#
./bin/sftpd.sh <start|stop|restart|status> [id]
- Encrypted Passwords (SHA1/MD5)
- Publickey Authenticator
- Use Java SecurityManager/Policy File
- Non operating system accounts
- Homes are chrooted
- ReadOnly accounts
Current harcoded values:
- Hostkeys are writed to:
hostkey.pem
orhostkey.set
in${sftp.home}/keys/
directory - SecurityManager/Policy File is in
lib/sftpd.policy
- Only SHA1 (160bits) are enabled for HMAC (MD5, MD5-96, SHA1-96 are disabled)
Maven Dependencies:
- mina-core-
XXX
.jar - sshd-core-
XXX
.jar
- log4j-
XXX
.jar
- slf4j-api-
XXX
.jar - slf4j-log4j12-
XXX
.jar
- bcprov-jdk
XXX
.jar
- jzlib-
XXX
.jar