当前位置:网站首页>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.
边栏推荐
- Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
- 【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
- Grub 2.12 will be released this year to continue to improve boot security
- 【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
- Go RPC call
- Application and Optimization Practice of redis in vivo push platform
- Missile interception -- UPC winter vacation training match
- spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
- Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
- tuple and point
猜你喜欢
Yolov5 model training and detection
Cut! 39 year old Ali P9, saved 150million
Open source SPL optimized report application coping endlessly
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Single line function*
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Day_ 17 IO stream file class
Avoid material "minefields"! Play with super high conversion rate
随机推荐
Video display and hiding of imitation tudou.com
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Summary and practice of knowledge map construction technology
openresty ngx_lua变量操作
Security level
Naacl 2021 | contrastive learning sweeping text clustering task
GFS distributed file system
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
openresty ngx_lua執行階段
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
Pytest (4) - test case execution sequence
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
数据库和充值都没有了
Collection of gmat750 wrong questions
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
PHP cli getting input from user and then dumping into variable possible?
Last week's hot review (2.7-2.13)
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
GFS分布式文件系统