当前位置:网站首页>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.
边栏推荐
- Rabbit MQ message sending of vertx
- Exploration of short text analysis in the field of medical and health (I)
- Vb+access hotel service management system
- From task Run get return value - getting return value from task Run
- Design and implementation of community hospital information system
- Action News
- Open source SPL optimized report application coping endlessly
- Kotlin - 协程 Coroutine
- Naacl 2021 | contrastive learning sweeping text clustering task
- Kotlin - coroutine
猜你喜欢
Spark SQL learning bullet 2
Marubeni Baidu applet detailed configuration tutorial, approved.
Avoid material "minefields"! Play with super high conversion rate
openresty ngx_lua執行階段
Open source SPL optimized report application coping endlessly
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
Security level
Android advanced interview question record in 2022
随机推荐
Subject 3 how to turn on the high beam diagram? Is the high beam of section 3 up or down
openresty ngx_ Lua variable operation
The phenomenology of crypto world: Pioneer entropy
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Three properties that a good homomorphic encryption should satisfy
8. Commodity management - commodity classification
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
Collection of gmat750 wrong questions
Official announcement! The third cloud native programming challenge is officially launched!
Exploration of short text analysis in the field of medical and health (I)
Naacl 2021 | contrastive learning sweeping text clustering task
How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
2022/02/13
Advanced conditional statements of common SQL operations
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
[micro service SCG] 33 usages of filters
TCP security of network security foundation
Returns the lowest common ancestor of two nodes in a binary tree
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Bumblebee: build, deliver, and run ebpf programs smoothly like silk