当前位置:网站首页>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 clientsudo apt-get install ssh2.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 restartRestart the ssh service.
xftp connection server
The first step is to download the xftpsoftware 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.
边栏推荐
- 大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
- Nuget package and upload tutorial
- Architecture actual combat battalion module 8 message queue table structure design
- Prometheus之node_exporter性能监控信息采集含义
- 什么是消息队列呢?
- NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
- Small test knife: Go reflection helped me convert Excel to Struct
- 搭建私有的的Nuget包服务器教程
- 最近很火的国产接口神器Apipost体验
- NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
猜你喜欢

49. The copy constructor and overloaded 】

Architecture actual combat battalion module 8 message queue table structure design

The meaning of node_exporter performance monitoring information collection in Prometheus

Essential Learning for Getting Started with Unity Shader - Transparency Effect

RecyclerView的高效使用第一节

思路迪医药冲刺港股:5个月亏2.9亿 泰格医药与先声药业是股东

看交互设计如何集成到Scrum敏捷流程中

UnityShader入门学习(二)——渲染流水线

In the future, the interviewer asks you why it is not recommended to use Select *, please answer him out loud!

MySQL 23道经典面试吊打面试官
随机推荐
Recommendation System - Recall Phase - 2013: DSSM (Twin Towers Model) [Embedding (Semantic Vector) Recall] [Microsoft]
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
OAuth2:搭建授权服务器
英文语法-时与态
NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
The paper manual becomes 3D animation in seconds, the latest research of Wu Jiajun of Stanford University, selected for ECCV 2022
The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
深入浅出边缘云 | 4. 生命周期管理
MySQL 23 classic interviews hang the interviewer
redhat/openssl generates a self-signed ca certificate and uses it
Efficient use of RecyclerView Section 3
RecyclerView的高效使用第一节
易驱线主控芯片对比(电动三轮电机90O瓦世纪通达)
高等数学——常用不定积分公式
I summed up the bad MySQL interview questions
基于最小二乘法和SVM从天气预报中预测太阳能发电量(Matlab代码实现)
ERROR: Failed building wheel for osgeo
Groupid(artifact id)
435. 无重叠区间
Message queue data storage MySQL table design