Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tanzhenchao authored May 8, 2024
1 parent 6565544 commit 21039a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Please consult my blog document《How to Integrate SFTP with AD Domain?》,htt
or implementing authentication based on email OTP tokens, please consult《How to Implement SFTP Email Authentication with 2FA on Oracle Linux 9.x?》https://www.cmdschool.org/archives/24107
# Methods for Utilizing the Tool
dnf install -y putty bc mkpasswd-expect expect bzip2 postfix mailx openldap-clients autofs quota
wget https://github.com/tanzhenchao/sftptool-for-ad-user/blob/main/sftptool.sh
wget https://github.com/tanzhenchao/sftptool-for-ad-user/blob/main/sftptool.conf
mv sftptool.sh /bin/sftptool
wget https://codeload.github.com/tanzhenchao/sftptool-for-ad-user/tar.gz/refs/tags/1.0.0 -O sftptool-1.0.0.tar.gz
tar -xf sftptool-1.0.0.tar.gz
mv sftptool-for-ad-user/sftptool.sh /bin/sftptool
chmod +x /bin/sftptool
mkdir -p /etc/sftp
mv sftptool.conf /etc/sftp/sftptool.conf
mv sftptool-for-ad-user/sftptool.conf /etc/sftp/sftptool.conf
sftptool
Usage: /usr/bin/sftptool {user|home|ca|passwd|quota|share|log|ldap|backup}

0 comments on commit 21039a9

Please sign in to comment.