-
使用xshell-ssh连接服务器被经常意外中断(Disconnected from remote host)
2017-08-26 09:53:04最近使用Xshell使用服务器,经常连接上使用一会就会被自动中断,很是闹心,并且出现以下的错误提示:Socket error Event: 32 Error: 10053. Connection closing......Disconnected from remote host(测试) at 09:35:5欢迎访问Oldpan博客,分享人工智能有趣消息,持续酝酿深度学习质量文。
最近使用Xshell使用服务器,经常连接上使用一会就会被自动中断,很是闹心,并且出现以下的错误提示:
Socket error Event: 32 Error: 10053. Connection closing...Socket close. Connection closed by foreign host. Disconnected from remote host(测试) at 09:35:58. Type `help' to learn how to use Xshell prompt.
重新登录使用last指令查看登录情况,发现好几个终端依然登着,但是ip地址变化了,好吧,很有可能是网络ip地址变化导致xshell自动断开连接。于是修改本机ip为固定地址发现就不会轻易断了。
root pts/3 183.186.203.80 Sat Aug 26 09:41 still logged in root pts/2 171.127.72.216 Sat Aug 26 09:33 still logged in root pts/2 118.77.199.116 Sat Aug 26 09:30 - 09:32 (00:01) root pts/1 171.127.203.17 Sat Aug 26 09:05 still logged in root pts/1 118.77.199.229 Fri Aug 25 09:16 - 09:30 (00:14)
另外还有种情况是本机网络dns变化也会导致xshell自动断开连接,这种情况通过修改ssh配置文件将其中“UseDNS yes”去掉注释并改成no即可,过程如下。
vim /etc/ssh/sshd_config
... #ClientAliveInterval 0 #ClientAliveCountMax 3 #ShowPatchLevel no UseDNS no #PidFile /var/run/sshd.pid #MaxStartups 10:30:100 #PermitTunnel no #ChrootDirectory none ...
修改完配置记得重新启动ssh(centos7)
systemctl restart sshd
如果你与我志同道合于此,很愿意与你交流。
如果你喜欢我的内容,欢迎关注和支持。 -
删除git remote
2018-01-12 11:14:04目前项目中有两个remote $ git remote -v origin https://github.com/luodao236/test.git (fetch) origin https://github.com/luodao236/test.git (push) test https://github.com/luodao236/onceAgain.git (fetch) ...目前项目中有两个remote
$ git remote -v origin https://github.com/test/test.git (fetch) origin https://github.com/test/test.git (push) test https://github.com/test/onceAgain.git (fetch) test https://github.com/test/onceAgain.git (push)
现在想删除其中的一个test,方法为:git remote remove <name>
$ git remote remove test 结果为: $ git remote -v origin https://github.com/test/test.git (fetch) origin https://github.com/test/test.git (push)
-
git 推送出现 “fatal: The remote end hung up unexpectedly“ 解决方案
2017-08-07 19:27:43在使用git推送项目时候出现 "fatal: The remote end hung up unexpectedly " 原因是推送的文件太大。 解决方案: 在克隆/创建版本库生成的 .git目录下面修改生成的config文件增加如下: [http] postBuffer = ...在使用git推送项目时候出现 "fatal: The remote end hung up unexpectedly " 原因是推送的文件太大。
解决方案:
在克隆/创建版本库生成的 .git目录下面修改生成的config文件增加如下:
[http] postBuffer = 524288000
即修改提交缓存大小为500M
重新推送即可。
闲暇之余写了个小程序,欢迎大家扫码使用
-
mac远程桌面Microsoft Remote Desktop for Mac - Mac-连接Windows远程桌面
2017-06-30 21:39:311:在mac电脑远程桌面可以使用,Microsoft 远程桌面 使用 Microsoft Remote Desktop 这个还是很老的版本; Microsoft Remote Desktop 10 已经在 Mac App Store 上架,可惜的是并不面向中国大陆地区用户,如果有...好记星不如烂笔头,这里记录平时工作中用到的东西,不喜可以留言。
1:在mac电脑远程桌面可以使用,Microsoft 远程桌面 使用 Microsoft Remote Desktop
这个还是很老的版本;
Microsoft Remote Desktop 10 已经在 Mac App Store 上架,可惜的是并不面向中国大陆地区用户,如果有需要请使用美区账号下载。大家可以网上购买美国区域账号,试一下看是否能够下载; 参考链接[mac早知道 maczd]、参考链接2[techspot.com]、参考链接3[.malavida.com]、
若没有美区账号,也可以直接到微软官方支持网站下载版本号更高 beta 试用版,正式版仅在 Mac App Store 提供。
链接地址:https://go.microsoft.com/fwlink/?linkid=868963
Microsoft Remote Desktop for mac V8.0.40,
Microsoft Remote Desktop for mac 10.1.8 ,
看看最新版的,新版体验非常好,至少能全屏了;
2:在mac电脑上面安装虚拟机比如:VMWare Fusion ,在里面安装xp/wins7/wind8/win10等,在windows操作系统里面使用远程连接
3: macos 使用openSSH 远程Linux / Windows(前提安装 openSSH)
连接主机: ssh ubuntu@52.80.82.214 密码: 3b8e45b74457e318
ssh -X username@192.168.1.233
4:使用 Teamviewer
5:mac 连接 windows,推荐 chrome远程桌面插件+软件 Chrome Remote Desktop
6:使用第三方工具,比如:向日葵 向日葵下载地址
更多参见:https://www.zhihu.com/question/19873013
7:使用apple 自带的工具:收费挺贵518人民币
教你免费安装官方 Apple Remote Desktop 洗白官方Remote Desktop for Mac
使用远程桌面,按下L, 但是总是系统帮你操作成了Win+L。 按三下alt
-
electron与remote(获取不到remote)
2020-09-11 09:59:16const remote = window.require('electron').remote // remote is undefined 在外部引入的js中获取不到remote, 在main.js中也获取不到remote模块 原因分析: 可能是版本的问题,现在用的是10.0.0版本 解决方案... -
VSCode:Remote-SSH配置实录
2019-05-08 11:20:40为什么要使用VSCode:Remote-SSH 服务器很多时候都是部署在Linux远程机器上的,我们通常是SSH连过去然后用vim或者emacs去修改源文件。 这种方式对我来说很麻烦,因为我已经习惯了全宇宙最好用的C++IDE Visual Studio... -
Microsoft Remote Desktop 10.1.8
2018-11-06 09:55:10macos 上面的远程桌面工作,微软开发的,Microsoft Remote Desktop for mac V10.1.8,比较新的版本,截止2018年11月;可以导出、导入配置信息、可以共享mac电脑文件夹。修改了使用的积分和分类 -
VScode Remote-SSH通过远程编辑与调试代码
2019-05-20 15:43:50Visual Studio Code 最新的Insider版本中加入了remote SSH功能,可以实现代码的远程调试与文件访问。 方法非常简单,这里总结记录一下。 补充说明 一个Error的解决方案,这块可以先不看 远程Debug的时候会有一个... -
Mac 技术篇-mac远程桌面直接连接windows系统,微软官方工具Microsoft Remote Desktop远程桌面工具安装与...
2019-08-30 17:20:43Mac 技术篇-mac远程桌面直接连接windows系统,微软官方工具Microsoft Remote Desktop远程桌面工具安装与使用。 两个不同的系统,当然是不能互相访问,他们默认只有相同系统的连接方式。微软的 Microsoft Remote ... -
GIT代码管理: git remote add
2019-02-22 11:50:31这里主要以 如何将一份已经写好的代码提交到两个git远端 为例, 更好地理解git remote add这句; 首先要明白一句代码的意思,以github最经常的提示为例: 在这张图面里git init, git add 和git commit 都是前期... -
:remote和.remote的区别
2016-07-07 21:47:09它的完整的进程名为 包名:remote .remote代表它是一个全局进程,其它应用可以通过ShareUID的方式可以和它跑在同一个进程中。xxx.remote就是一种完整的命名,不会附加包名的信息。例:<activity android:process=":... -
git remote set-url origin “xxx.git“ 报错 No such remote ‘origin
2019-02-20 10:48:01git remote set-url 是修改远程的url的命令,前提是要先有远程url so 你必须先增加一个远程url git remote add origin "xxx.git" -
git remote
2014-11-27 10:54:46转载:... 查看当前项目有哪些远程仓库 $ git remote bixiaopeng@bixiaopengtekiMacBook-Pro wirelessqa$ git remote origin 查看远程仓库 $ git remote -v bixi -
Microsoft Remote Tools
2014-10-10 10:52:10不知什么时候,在偶的开始菜单中出现了一项:Microsoft Remote Tools Framework 1.10,其中有如下的功能:Microsoft Remote ProfilerMicrosoft Remote Registry EditorMicrosoft Remote Resource ConsumerMicrosoft ... -
remote object implements illegal remote interface
2014-05-05 15:51:15最近在学习RMI,用EJB写一个使用远程对象完成计算时抛出的异常remote object implements illegal remote interface -
pycharm 误关Remote Host 打开Remote Host小窗口 截图步骤
2020-07-24 15:30:50pycharm 打开Remote Host小窗口 使用pycharm时,总会手滑关掉一些小窗口,比如Remote Host。关了之后还找不到,今天特别记录一下以免忘记。 打开方式 Tools > Deployment > Browse Remote Host -
VS Code Remote Development
2019-08-20 16:16:34在Windows下编辑Linux代码,并且有Linux下的系统接口,第三方dep库的语法解析,代码提示,...1.安装远程开发插件,在Extensions中输入Remote Development 安装Remote Development后会自动安装关联的几个插件 2.... -
git 清空 remote
2018-09-18 16:59:33git remote remove origin 目前项目中有两个remote $ git remote -v origin https://github.com/luodao236/test.git (fetch) origin https://github.com/luodao236/test.git (push) test ... -
remote desktop manager使用教程
2019-05-16 16:04:49微软自带的mstsc、向日葵、teamviewer、微软出品的remote desktop connection manager、xshell、sftp、winscp。最近发现了一款强大的远程工具。以上安装的那些工具的工作可以将给它来完成了。remote desktop manager... -
git remote 命令的用法
2018-05-19 23:53:18git remote # 查看关联的远程仓库的详细信息 git remote -v添加远程仓库的关联远程仓库的名称一般默认为 origin ,当然,你可以设置为其他的名称。通过 git clone 下载项目到本地时,项目文件夹中的 .git 目录就是... -
Goland 安装Remote Hosts Access,SSH Remote Run
2019-03-25 11:10:18Plugins中搜索Remote Hosts Access,点击安装如图: 安装完成后,重启goland。 2.配置Romote Hosts Access插件: a.菜单栏Tools->Deployment->Configuration,如下图: b.点击添加,设置远程服务器得信息,... -
git 操作:git remote add origin XXXX 报错 remote origin already exists
2019-11-27 16:24:27在执行 git remote add origin XXXX 出现报错 remote origin already exists 同时再执行 git push -u origin master 出现报错 ERROR: Repository not found. fatal: Could not read from remote repository. ... -
警告:No archetype found in remote catalog. Defaulting to internal catalog.
2019-11-23 18:33:09新建maven项目时,Run中报警告:No archetype found in remote catalog. Defaulting to internal catalog.【在远程目录中没有找到原型。默认为内部编录。】,如图: 解决办法:可以不用管,选择File ---> 再... -
Git命令remote 得添加,一览,指定的remote,push代码
2018-11-22 18:04:131.添加remote git remote add 別名 URL C:\vcrm-android>git remote add bitbucket git@bitbucket.org:xxxxx_txxxxce/xxxx_android.git 2.显示当前项目得remote C:\vcrm-android>git remote -v 3... -
Remote debug error with GDB(remote register badly formatted)
2017-01-19 17:34:28原文地址:...在gdb端 set debug remote 1后输入 set architecture i386:x86-64 原文: Remote debug error with GDB I tried to remote debug a... -
git 切换remote
2017-04-04 17:14:51新增 remote 命令行操作 git remote add gitlab git://***/***.git 添加成功后,查看本地remotes git remote -v gitlab http://domain.com/project.git (fetch) gitlab ... -
git remote add origin 错误提示:fatal: remote origin already exists.
2019-02-11 16:43:48问题 如果输入 $ git remote add origin git@github....提示出错信息:fatal: remote origin already exists. 解决 解决办法如下: 先输入 $ git remote rm origin 再输入 $ git remote add origin g... -
unity remote使用过程
2019-05-05 19:36:21unity remote工具对于unity使用者来说是一个十分好用的工具,它需要的前提是: 确保已经安装好android sdk(最好是最新的) 手机需要安装好unity remote unity需要在Edit->Project Settings->Editor下的Unity...
-
易语言开发通达信DLL公式接口
-
电商设计专业思维
-
运动APP软件开发具有什么好处?
-
C#文件传输、Socket通信、大文件断点续传
-
linux写的基于epoll技术的socket tcp服务器,数据库采用mysql.zip
-
阿里云云计算ACP考试必备教程
-
【2021】UI自动化测试Selenium3
-
python的一些加密方法及python 加密模块
-
webservice调用测试工具
-
Java学习路线,好的学习路线和好的方法,能让我们少走些弯路
-
微服务系列第七十一季-Introducing Spring Boot
-
FPGA基于dds的正弦波发生器与频率计综合设计作业
-
国家注册渗透测试工程师(Web安全)
-
从本地上传自定义容器到阿里云上报错授权错误
-
css布局中的BFC问题
-
备战2021软考网络规划设计师顺利通关培训套餐
-
5G 频段 频率与Band对应表
-
Android Studio如何导出安卓(Android)apk文件超级详细教程
-
数据类型转换、运算符、方法入门
-
权威发布!263947亿元!2020年全国建筑业总产值同比增长6.2%