当前位置:网站首页>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.
边栏推荐
- Android advanced interview question record in 2022
- The phenomenology of crypto world: Pioneer entropy
- Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
- Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
- 【微服务|SCG】Filters的33种用法
- LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
- Some query constructors in laravel (2)
- [技术发展-26]:新型信息与通信网络的数据安全
- The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns
- Grub 2.12 will be released this year to continue to improve boot security
猜你喜欢

Introduce reflow & repaint, and how to optimize it?

【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)

【LeetCode】501. Mode in binary search tree (2 wrong questions)

Vb+access hotel service management system
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/22/08617736a8b943bc9c254aac60c8cb.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience

Missile interception -- UPC winter vacation training match

Design of kindergarten real-time monitoring and control system
![[200 opencv routines] 99 Modified alpha mean filter](/img/df/1b7beb6746f416198fc405249852f8.jpg)
[200 opencv routines] 99 Modified alpha mean filter

Design of KTV intelligent dimming system based on MCU

Binary tree traversal - middle order traversal (golang)
随机推荐
GFS分布式文件系统
Tucson will lose more than $400million in the next year
Security level
Redis distributed lock, lock code logic
Design of kindergarten real-time monitoring and control system
Limited query of common SQL operations
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Character painting, I use characters to draw a Bing Dwen Dwen
2022/02/13
Moco V2 literature research [self supervised learning]
ELFK部署
Last week's hot review (2.7-2.13)
Asynchronous and promise
Pytest (5) - assertion
Using druid to connect to MySQL database reports the wrong type
[download white paper] does your customer relationship management (CRM) really "manage" customers?
PHP cli getting input from user and then dumping into variable possible?
How to make a cool ink screen electronic clock?
Visual studio 2019 set transparent background (fool teaching)
Cut! 39 year old Ali P9, saved 150million