当前位置:网站首页>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.
边栏推荐
- LeetCode二叉树系列——226.翻转二叉树
- PDF 拆分/合并
- R语言ggstatsplot包ggbarstats函数可视化条形图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)、检验结果报告符合APA标准
- Asynchronous processing business using CompletableFuture
- ASP.NET Core 产生连续 Guid
- Uniapp WeChat small application reference standard components
- Ubuntu Topic 5: Setting a Static IP Address
- C language basic practice (nine-nine multiplication table) and printing different asterisk patterns
- AVH部署实践 (一) | 在Arm虚拟硬件上部署飞桨模型
- R语言计算时间序列数据的移动平均值(滚动平均值、例如5日均线、10日均线等):使用zoo包中的rollmean函数计算k个周期移动平均值
猜你喜欢
随机推荐
谷歌CTS测试(cta测试)
UnityShader入门学习(一)——GPU与Shader
AVH部署实践 (一) | 在Arm虚拟硬件上部署飞桨模型
NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
力扣:714. 买卖股票的最佳时机含手续费
2021 OWASP TOP 10 Vulnerability Guide
svn安装及使用(身体功能手册)
Why do we need to sub-library and sub-table?
MANIFEST.MF文件(PDB文件)
易驱线主控芯片对比(电动三轮电机90O瓦世纪通达)
MySQL [subquery]
Ubantu专题4:xshell、xftp连接接虚拟机以及设置xshell复制粘贴快捷键
公告
MySQL 23道经典面试吊打面试官
How to grab configuration information for DELL SC compellent storage system
Spark学习(2)-Spark环境搭建-Local
Prometheus之node_exporter性能监控信息采集含义
格林美瑞交所IPO:募资3.8亿美元 更多中国企业将赴欧洲上市
OAuth2:使用JWT令牌
使用 PyTorch 检测眼部疾病