linux sftp user jailed into home directory

  • Check openssh version(Should newer than 4.8)

  • Edit ssh configuration file

  • Comment lines ‘Subsystem *’, add line:

  • Add lines from bottom of the conf file

  • Restart sshd service:

  • Create group

  • Create user

  • Correct directory ownership

  • Give password to your sftp user










Leave a Comment

电子邮件地址不会被公开。 必填项已用*标注