Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the rejection of winscp connection

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the solution to the rejection of winscp connection, which is very detailed and has a certain reference value. Interested friends must read it!

Solutions: 1, use the "sudo ufw disable" command to turn off the firewall; 2, use the "sudo / etc/init.d/ssh restart" command to turn on the remote service; 3, open 22 port numbers.

If the winscp connection is denied, you can try the following methods:

1) enable | disable the firewall (need to be turned off here)

Sudo ufw enable | disable

2) enable remote service

Enter: service sshd start in the terminal interface.

The results show that: ssh:unrecognized service.

Enter the view command: service ssh status

The display is also unrecognized service.

Turn on remote services:

Terminal interface type: sudo / etc/init.d/ssh restart

(or sudo / etc/init.d/ssh start)

3) Port number 22 should be opened

Sudo vi / etc/ssh/ssh_config

If a ROOT permission connection is denied

Sudo vi / etc/ssh/sshd_config

Find PermitRootLogin no and change it to yes.

Restart the sshd service

Service sshd restart, remember to restart!

Success!

The above is all the contents of this article entitled "the solution to the rejection of winscp connection". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report