putty

emacs tramp mode under windows 7, using plink method

左心房为你撑大大i 提交于 2020-01-24 14:06:16
问题 I'm trying to get tramp working under emacs 24.3 (tramp version 2.2.6-24.3) on windows 7 and I'm almost there. I've got putty/plink installed and in the path. Here's what's in my .emacs: ;;; TRAMP for remote editing ;;; (require 'tramp) (setq tramp-default-method "plink" tramp-default-user "dbraze" tramp-default-host "camille.haskins.edu" ) when I do M-x find-file /plink:: I'm prompted for a password. When I type it in all seems well, but eventually the connection fails. This is what I end up

emacs tramp mode under windows 7, using plink method

99封情书 提交于 2020-01-24 14:02:08
问题 I'm trying to get tramp working under emacs 24.3 (tramp version 2.2.6-24.3) on windows 7 and I'm almost there. I've got putty/plink installed and in the path. Here's what's in my .emacs: ;;; TRAMP for remote editing ;;; (require 'tramp) (setq tramp-default-method "plink" tramp-default-user "dbraze" tramp-default-host "camille.haskins.edu" ) when I do M-x find-file /plink:: I'm prompted for a password. When I type it in all seems well, but eventually the connection fails. This is what I end up

Is there a way to configure PuTTY or other terminal to flash the taskbar on next output to stdout?

冷暖自知 提交于 2020-01-23 05:22:20
问题 I'm specifically looking for a solution for PuTTY but also interested for other terminal emulators, like Gnome Terminal. My thought is it would be useful if I start a tar zxvf to be able to set a trigger on the terminal emulator, minimize it, and on next output to stdout/stderr I get a notification in the task bar that the command has finished. 回答1: This works for me: echo -e "\a" Then update your PuTTY session to use the Visual Bell, and set "Taskbar/caption indication on bell" to Flashing

用putty 连接Linux以及实现 windows和linux文件互传

时光毁灭记忆、已成空白 提交于 2020-01-21 04:00:12
ssh原理 简单说,SSH是一种网络协议,用于计算机之间的加密登录。 ssh原理参考文章 ssh客户端工具 putty PuTTY小巧方便。但若需要向网络中的Linux系统上传文件,则可以使用PuTTY官方提供的PSCP工具来实现上传。PSCP基于ssh协议实现,其用法与SCP命令非常类似。 在PuTTY官方网站的下载页中,找到PSCP,Windows64位的可下载如下。 (一)。使用putty远程连接Linux 1.输入主机名称或是主机的IP地址 2.SSH协议默认的端口号22(这里不需要修改) 3.在Saved Sessions中填入一个用于区分的名称(一般都使用IP地址) 4.保存上面的设置,以保证以后使用起来更方便(当然,你也可以不保存,那么上述信息不会被保留,下次使用需要重新设定) 5.点击Open进行连接,如果不出意外的话,就ok了. 连接成功后,输入用户名和密码即可连接 (二)。使用pscp方式从windows上传文件到linux服务器 putty默认安装路径 在 CMD 命令行中进入到putty安装目录 pscp 跟我们平时使用的linux scp命令操作的都是类似的 现在我直接从windows本地上传一个文件到linux服务器 D:\Program Files\PuTTY>pscp D:\testspringmvc.war root@10.126.45.56:

putty SSH 使用证书免密码登录

前提是你 提交于 2020-01-20 18:17:57
2020-01-20 1541 星期一 参考:https://blog.csdn.net/weixin_34226182/article/details/92069049 Putty端配置 首先,我们需要将 id_rsa 文件转化为 PuTTy 支持的格式。 这里我们需要利用 PuTTyGEN 这个工具。点击 PuTTyGen 界面中的 Load 按钮,选择 id_rsa 文件,输入 passphrase(如果有的话),然后再点击 Save PrivateKey 按钮,这样 PuTTy 接受的私钥就做好了。 Session设置 打开 PuTTy,在 Session 中输入服务器的 IP 地址,在 Connection - > SSH - > Auth 下点击 Browse 按钮,选择刚才生成好的私钥。然后回到 Connection 选项,在 Auto - login username 中输入证书所属的用户名。回到 Session 选项卡,输入个名字点 Save 保存下这个 Session。点击底部的 Open 应该就可以通过证书认证登录到服务器了。如果有 passphrase 的话,登录过程中会要求输入 passphrase,否则将会直接登录到服务器上,非常的方便。 1 1 1 1 1 来源: CSDN 作者: yuxueyuanwj 链接: https://blog.csdn

PuTTY实现Windows向Linux上传文件

孤人 提交于 2020-01-19 01:05:55
PuTTY实现Windows向Linux上传文件 我使用的是PSCP工具,在此页面下载pscp工具: PSCP下载页 下载后跟putty放在同一个文件夹。 打开Windows命令窗口,进入到pscp所在文件夹,可以使用此命令查看pscp工具使用可以使用: pscp ? 出现下图情况就是已经安装成功的: 接着使用命令直接传输文件: pscp C : \Users\admin\Desktop\dist . tar . gz root@ 192.168 .1 .1 : / opt / tomcat / apache - tomcat - 8.5 .47 / webapps / weekly 如果有密码的则输入密码就可以传输了。 除了pscp工具,还有psftp工具,详情可以参考这篇文章: putty对Linux上传下载文件或文件夹 PS:必须在pscp.exe所在的文件夹中使用cmd命令才可以识别到pscp 来源: CSDN 作者: Jim~LoveQ 链接: https://blog.csdn.net/jim_LoveQ/article/details/103895737

树莓派4b初始图形化设置 putty + vnc 笔记本电脑连接

喜你入骨 提交于 2020-01-17 21:57:07
树莓派4B 图形化配置 最近入手了一块树莓派4B,并简单的进行了初始图形化配置,简单的说就是连接了自己的笔记本电脑,感觉还不错,现将自己连接笔记本的方法记录如下,从本质上讲,树莓派4B的连接方式和3B+没有太大的区别,连接方式基本一致,但是依旧有坑,本文会详细标注,写文之前,本人已经进行过连接实验,严格按此操作必能连接成功。在进行详细的连接操作前,希望正在阅读本文的小伙伴能够参考我的另一篇文章: https://blog.csdn.net/qq_43785234/article/details/103973617 (树莓派3B+的连接方式),此文对于重复的地方将不再进行赘述,仅对有坑的地方进行标注。 一.工具准备 :这里只强调一点,务必使用16G SD卡,并非8G卡不行,为了以后更好的操作开发,建议使用16G。其余工具不变 二.图形化界面配置 1.格式化SD卡,具体操作同3B+一致,无任何差别地方。 2.镜像系统烧录,这里需要说明一点, 烧录系统为:2019-09-26-raspbian-buster-full.img 3.开启SSH,在 内存卡根目录下 建一个名为ssh的文件夹 4.无线网络文件配置,具体操作同3B+一致,注意修改WiFi名和密码 ​country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

Apache ant working in root not in shell_exec

谁都会走 提交于 2020-01-17 04:14:06
问题 i have a problem in Apache ant all commands are working in ssh client putty but when i try to run in shell_exec it gives error sh: ant: command not found is there is any permission using in shell_exec i have root access to the server 回答1: Does PHP honour your environment PATH? you may need to qualify the path to the executable. Refer to this post for more path/shell info: PHP exec $PATH variable missing elements 来源: https://stackoverflow.com/questions/10834134/apache-ant-working-in-root-not

Putty使用Key登录服务器的过程

女生的网名这么多〃 提交于 2020-01-15 19:06:06
1、Linux下生成密钥 运行: 引用 # ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): <-密钥路径 Enter passphrase (empty for no passphrase): <-密钥保护密码 Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. <-私钥 Your public key has been saved in /root/.ssh/id_rsa.pub. <-公钥 The key fingerprint is: 17:28:4c:c3:e4:18:d4:c2:31:bd:be:a7:a9:d4:a8:48 root@mail.linuxfly.org 2、把公钥信息写入authorized_keys文件中 运行: # cd ~/.ssh # cat id_rsa.pub >> authorized_keys 3、生成putty的私钥 由于SSH的标准中,并没有固定密钥文件的格式。而Putty使用的私钥格式和OpenSSH生成的有点不同,需要转换一下。 a

Open command line in C# and send commands PuTTY or KiTTY

谁都会走 提交于 2020-01-15 09:01:29
问题 I want to open the Command line from C# from GUI, and send this line: kitty.exe abc@192.19.35.80 -load file -l name -pass pswrd -cmd "echo 123" This is to actually open the KiTTY (which is a port of PuTTY) and send the command echo 123 (which is just an example) to the SSH. I couldn't find any way doing it in C#. 回答1: System.Diagnostics.Process cmd = new System.Diagnostics.Process(); cmd.StartInfo.FileName = @"C:\windows\system32\cmd.exe"; cmd.StartInfo.UseShellExecute = false; cmd.StartInfo