当前位置:网站首页>Ubantu project 4: xshell, XFTP connected the virtual machine and set xshell copy and paste the shortcut
Ubantu project 4: xshell, XFTP connected the virtual machine and set xshell copy and paste the shortcut
2022-07-31 14:56:00 【python-code dr】
xshell connect to virtual machine
1. Standard process of connection
1. Enter ifconfig
in the linux command line to view the IP address.
inet 192.168.58.131
2. Create a new session in xshell, enter the ip address in the host, and click OK.
3. Click on the session to connect, enter the user name and password, and the connection is successful.
Second, possible problems.
1.linux system is not installed ssh
Install ssh client
sudo apt-get install ssh
2.linux system refuses password login
found
Authentication
Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password
StrictModes yes
Change to
Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
Then enter the command
/etc/init.d/ssh restart
Restart the ssh service.
xftp connection server
The first step is to download the xftp
software download address
After the download is complete: there is an
, double-click to open the software
After opening, as shown below:
SecondStep: Click, red area, "New"
After creating a new one, it will pop up
After the setting is complete, click the blue "OK", click "Connect" to automatically connect to the server, the following picture appears: The connection is successful
Last step: find the file on the left and drag it directlyDrag it to the work path on the right, so that the file can be found directly in the corresponding path of the server terminal.
xshell settings copy and paste shortcuts
If we want to copy or paste the xshell we just installed, we must right-click to pop up the menu and select copy and paste in the menu, but this is not our habitual operation. Our habitual operation is that copy is ctrl+c, and paste is ctrl+v, so we have to set
Open xshell, Tools > Options > pop up the following dialog box
Keyboard and mouse> Middle button> Open pop-up menu> Right button> Paste clipboard content> Automatically copy the selected text to the clipboard, press OK after selecting these, we have implemented simple copy and paste. In xshell, we select the content to be pasted, press the right button, and the selected content has been pasted where the cursor is seen, but if the selected content from outside the xshellRight-clicking in xshell can't paste it, which is not what we want, so let's edit it.
We click the edit button on the first picture to pop up the following dialog box, click New to pop up the middle dialog box.Ok, to the point, the effect we want isPress ctrl+v to realize the paste function, we press ctrl+v, the following dialog box will pop up, select menu "paste" in turn, and get it, so that the copy and paste we want has been achieved, and we are ecstatic.
边栏推荐
猜你喜欢
随机推荐
Asynchronous processing business using CompletableFuture
RecyclerView的高效使用第一节
Nuget打包并上传教程
Resnet&API
Ubantu专题4:xshell、xftp连接接虚拟机以及设置xshell复制粘贴快捷键
STM32(十)------- SPI通信
thread_local 变量的析构顺序
Architecture actual combat battalion module 8 message queue table structure design
R语言向前或者向后移动时间序列数据(自定义滞后或者超前的期数):使用dplyr包中的lag函数将时间序列数据向前移动一天(设置参数n为正值)
Message queue data storage MySQL table design
NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
DeepLab Series Learning
基于极限学习机(ELM)进行多变量用电量预测(Matlab代码实现)
模板与泛型编程值typelist实现
Introductory UnityShader learning (2) - the rendering pipeline
Selenium自动化中无头浏览器的应用
Small test knife: Go reflection helped me convert Excel to Struct
MySQL 23 classic interviews hang the interviewer
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
R语言检验样本是否符合正态性(检验样本是否来自一个正态分布总体):shapiro.test函数检验样本是否符合正态分布(normality test)