当前位置:网站首页>The whole process of connecting the newly created unbutu system virtual machine with xshell and xftp
The whole process of connecting the newly created unbutu system virtual machine with xshell and xftp
2022-04-23 03:48:00 【Mr.RainsdRop】
Preface
Bloggers have been bothered by Bi Shi recently , It's been a week of dead and alive , Finally, the project failed , The virtual machine is playing like a thief .
blamed Torch, What's wrong with the installation , Come on, a fairy, take me !!
People are already at a low ebb , How to walk is up . Although the main line still doesn't move , But I also learned a lot when pushing the main line , It's barely a loss . Gossip , Get into the subject .
Sometimes we need to transfer some files from the host to the virtual machine , Or you want to transfer the files of the virtual machine to the host . I don't know how the immortals of all parties solved it , Bloggers usually use Xshell And Xftp Software completed .
But if you want to use these two software , We still need to configure some things on the virtual machine first . The blogger sorted out the information on the Internet a little , Summed up this blog .
One . Check whether the service is on
Enter the command at the terminal :
ps -e | grep ssh
If the display result is as shown in the figure below , Display in the interface sshd
Service and ssh-agent
service , So congratulations , You can try connecting virtual machines with software :
But if you lack one of them , Not even one , Don't panic , Continue to look at .
Two . Turn on sshd service ( If enabled, skip this step )
Input in the terminal ( If you are not sure whether the virtual machine has installed this package , You can also enter the installation command , Does not affect the ):
sudo apt-get install openssh-server
After the installation is successful, you can enter ps -e | grep ssh
see sshd
Whether the service starts .
If there is still no , Continue to input... At the terminal :
/etc/init.d/ssh start
Check again at this time ,sshd
The service has been started successfully .
3、 ... and . Turn on ssh-agent service ( If enabled, skip this step )
Input in the terminal :
eval 'ssh-agent'
Complete these three steps , We can try to use Xshell And Xftp The software is connected to the virtual machine .
But there are several problems that may arise next , Take it by yourself .
Four . Other problems that may arise
1. When entering a password, you can only enter public key
Reference blog
https://blog.csdn.net/u012026446/article/details/81302656
Solution
The input terminal :
vim /etc/ssh/sshd_config
Then find this location , take PasswordAuthentication
Change the following word to yes
( It should have been no
), And then restart sshd
service :
2.SSH The server denied access to the password
Reference blog
https://blog.csdn.net/weixin_43310339/article/details/97373548
Remove the above reasons , There is another reason for this problem : Use root The user login , So bloggers suggest not to use root user Log in .
Other problems haven't been encountered yet , Add content after encountering , I made a obeisance ~
版权声明
本文为[Mr.RainsdRop]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230347118219.html
边栏推荐
- Section 2 map and structure in Chapter 6
- Design and implementation of redis (2): how to handle expired keys
- [string] ranking of country names ----- problem solving notes
- How to introduce opencv into cmake project
- 什么是软件验收测试,第三方软件检测机构进行验收测试有什么好处?
- Common net HP UNIX system FTP server listfiles returns null solution.
- Download and configuration of idea
- According to the category information and coordinate information of the XML file, the category area corresponding to the image is pulled out and stored in the folder.
- PyMOL usage
- Zotero6. Version 0 quicklook cannot be used / Chinese garbled code will not be displayed
猜你喜欢
The great gods in acmer like mathematics very much
STM32 advanced timer com event
ROS series (4): ROS communication mechanism series (4): topic communication practice
The principle and solution of not allowing pasting in an English Network
Design and implementation of redis (6): how redis achieves high availability
Design and implementation of redis (4): what is the event driver of redis
On the principle of concurrent programming and the art of notify / Park
基于PHP的代步工具购物商城
Design and implementation of redis (3): persistence strategy RDB, AOF
SQL learning record
随机推荐
The art of concurrent programming (2): synchronized usage scenarios
ROS series (V): common commands in ROS
PolarMask is not in the models registry
Raspberry pie 3B logs into the wired end of Ruijie campus network through mentohust, creates WiFi (open hotspot) for other devices, and realizes self startup at the same time
2021-09-03 crawler template (only static pages are supported)
Photoshop installation under win10
Digital image processing third edition Gonzalez notes Chapter 2
Design and implementation of redis (2): how to handle expired keys
ROS series (IV): ROS communication mechanism series (3): parameter server
Three column layout (fixed width on both sides in the middle and fixed width on both sides in the middle)
The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
Vs studio modifies C language scanf and other errors
Alphafpld upgrade alphafold multimer
[latex] differences in the way scores are written
秒杀所有区间相关问题
Wechat payment iframe sub page has no response
Summary of knowledge map (3)
Vscode delete uninstall residue
[AI vision · quick review of today's sound acoustic papers issue 1] Thu, 14 APR 2022
JS - accuracy issues