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,
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
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
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 .
Fox Wind. Create a user group SFTP
User group name is SFTP
Create user Test
Used to WINSCP and xftp directly connected to the server to modify the file, to Linux gnome or KDE found no WINSCP to provide the interface of the client, went to a filezilla, but the libstdc++ version of CentOS is too old to support.The original
AMH panel, as one of the Linux VPS host panels developed by the people, the current user volume is still relatively large, even since the new version of last year began charging a lot of controversy, but now basically tend to habits. Because the
CentOS Study Notes-SSH, centos-sshConfigure SSH
If the network SSH service is enabled by default, you can test it on the client. If not, run the following command:
[Root @ www ~] #/Etc/init. d/sshd restart stopping sshd: [OK] Activating sshd: [OK] #
Uploading packagesrz上传jdk-8u181-linux-x64.tar.gz和apache-tomcat-8.5.32.tar.gz或者FileZilla Client进行sftp链接上传
Unzip the JDK to the/usr/local/directory
tar xzvf jdk-8u181-linux-x64.tar.gz -C /usr/local/
See if Java is installed
The EXPORTFS command is used to manage the list of file systems for the current NFS share.
-A: Uninstall all or mount all
-U: Uninstalling a directory
-V: Show shared
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:
and provide relevant evidence. A staff member will contact you within 5 working days.