1. Install samba first
sudo apt-get update
sudo apt-get install samba openssh-server
2. Edit Samba configuration file
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
sudo vi /etc/samba/smb.conf
Find the [homes] item, which is commented out by default, cancel the comment, and then modify the specific content as follows:
Posted by digitalhuman on Sun, 12 Jan 2020 09:30:35 -0800
When the openssh service is enabled in the host, the remote connection interface is opened to the public. The service end of openssh service is open to the public, and the remote connection is open to the public
sshd ා server software, open an interface for others to connect through other ways
2. How to connect s ...
Posted by ldmccla on Thu, 26 Dec 2019 10:47:17 -0800
In the CenOS 7 system, openssh server is provided by openssh, openssh server and other software packages (installed by default), and sshd has been added as a standard system service. You can execute systemctl status sshd to view the status of the service. As long as you have a legal login shell, you can log in to the operating system remotely ...
Posted by youwh on Sun, 03 Nov 2019 05:31:46 -0800
Previous Cause: The server was scanned for a SpenSSH vulnerability, so an upgraded version was needed to fix the vulnerability.
# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
Pre-upgrade ssh version:
# ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
Upgraded ssh version:
# ssh -V
OpenSSH_8.0p1, OpenSSL 1.0 ...
Posted by student101 on Sat, 05 Oct 2019 23:16:10 -0700
In the previous chapter, the blogger introduced the architecture of the mainalived + nginx (backup) high-availability system for large-scale Internet projects. I believe you should read the blogger's article and have a certain understanding of the mainalived / nginx technology. In this section, the blogger will share the related technology and ...
Posted by dk44 on Thu, 16 May 2019 02:33:09 -0700
Linux's command line provides many commands to kill a process.For example, you can pass a PID to kill a process; the pkill command uses a regular expression as input, so processes matching that pattern are killed.
But there is also a command called killall, which by default matches the parameter name exactly and then kills the matching proce ...
Posted by RamboJustRambo on Tue, 07 May 2019 16:00:39 -0700
Problem Description:After adding Oracle users, the development feedback can connect PING to the host and Telnet to the corresponding port. Client screenshots are as follows: Problem analysis:Maybe in the process of multi-user operation, or in the process of creating users, the operation errors of time privilege which set the membership gro ...
Posted by jstngk on Wed, 13 Feb 2019 01:00:18 -0800