当前位置:网站首页>SFTP cannot connect to the server # yyds dry goods inventory #
SFTP cannot connect to the server # yyds dry goods inventory #
2022-07-05 02:40:00 【wangzx_ mm】
1、 to glance at ssh Whether the operation is normal
systemctl status sshd
service sshd status
- 1.
- 2.
2、 Take a look at the configuration file
vi /etc/ssh/sshd_config
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
-- -- -Subsystem There is # If No .
-- -- Please comment out the following sentences , Conflict with the above
Subsystem sftp internal-sftp-server
UsePAM yes
Match User test
ChrootDirectory /opt/download/
ForceCommand internal-sftp
AllowTcpForwarding no
X11Forwarding no
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
3、 Restart the service
/etc/init.d/sshd reload perhaps service sshd restart
- 1.
4、 Check the connection status
netstat
- 1.
5、 Check whether the firewall is on , Let's take a look again. The firewall policy is not set
systemctl status firewalld
service iptable status
iptables -L -n
- 1.
- 2.
- 3.
- 4.
6、 Check the vsftpd Whether the service is normal
systemctl status vsftpd
- 1.
7、 to glance at sftp If there is something wrong
systemctl status sftp
service sftp status
- 1.
- 2.
边栏推荐
- Design of kindergarten real-time monitoring and control system
- 2022/02/13
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
- Single line function*
- Security level
- Design and implementation of high availability website architecture
- d3js小记
- A label colorful navigation bar
- [機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
- Prometheus monitors the correct posture of redis cluster
猜你喜欢
Scientific research: are women better than men?
如何做一个炫酷的墨水屏电子钟?
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Go RPC call
Marubeni Baidu applet detailed configuration tutorial, approved.
Character painting, I use characters to draw a Bing Dwen Dwen
Design of kindergarten real-time monitoring and control system
A label making navigation bar
Binary tree traversal - middle order traversal (golang)
Design and implementation of kindergarten management system
随机推荐
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
CAM Pytorch
Talk about the things that must be paid attention to when interviewing programmers
Introduce reflow & repaint, and how to optimize it?
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
返回二叉树中两个节点的最低公共祖先
Some query constructors in laravel (2)
Redis distributed lock, lock code logic
Missile interception -- UPC winter vacation training match
Introduce reflow & repaint, and how to optimize it?
Yolov5 model training and detection
Practical case of SQL optimization: speed up your database
[机缘参悟-38]:鬼谷子-第五飞箝篇 - 警示之一:有一种杀称为“捧杀”
The phenomenology of crypto world: Pioneer entropy
【微服务|SCG】Filters的33种用法
Advanced conditional statements of common SQL operations
Yolov5 model training and detection
【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
Application and Optimization Practice of redis in vivo push platform
Day_ 17 IO stream file class