To summarize:SFTP Service
#ssh –V to view the OpenSSH version, if it is below 4.8p1, you need to upgrade the installation yourself,
Create an SFTP group: #groupadd SFTP
Create Test Account: #useradd-G sftp-s/bin/false testuser Change
Build sftp in Centos 7
# Use ssh-V to check the openssh version. if the version is earlier than 4.8p1, you must upgrade and install openssh.
1. Create an sftp group # groupadd sftp 2. Create an sftp user, the home Directory of the user named
From the technical point of view, a few requirements: 1, from the security point of view, SFTP will be more secure a little more 2, online server to provide on-line services, users need to control, only let users in their home directory activity 3,
Linux Centos 6.6 Build SFTP ServerUse the system's own internal-sftp to build an SFTP server in the CentOS 6.6 environment.Open the Command Terminal window and follow the steps below.0. View OpenSSH version[Plain] view plaincopy
Ssh-v
Use the system's own internal-sftp to build an SFTP server in the CentOS 6.6 environment.Open the Command Terminal window and follow the steps below.0. View OpenSSH version[Plain]View PlainCopy
Ssh-v
Use the SSH-V command to view the
Use the system's own internal-sftp to build an SFTP server in the CentOS 6.6 environment.Open the Command Terminal window and follow the steps below.0. View OpenSSH version
1
ssh-V
Use the SSH-V command to view the
From: http://blog.csdn.net/xinxin19881112/article/details/468313111. Create an SFTP groupGroupadd SFTP2, create an SFTP user, the user name is mysftp, password is mysftpUseradd-g sftp-s/bin/false mysftp // user name // password3, the user's home
Because the user name and password are transmitted in clear text, the FTP protocol is not secure. In the same room, as long as one server is under the control of the attacker, it is possible to gain access to the FTP password on other servers to
Service Build
CentOS with SSH service, direct configuration can SFTP configuration 1. Create a user group SFTP
Groupadd SFTP
2. Create User
Useradd-g sftp-s/sbin/nologin-d/home/sftp/ftpuser1 ftpuser1
-G Join to SFTP Group-S Prohibit login-d The
Recently to the server to set up a SFTP user, you can upload delete modified sftp, but prohibit the user SSH login. Record here, upgrade first .
Yum Update
Fox Wind. Create a user group SFTP
User group name is SFTP
Groupadd SFTP
Create user Test
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.