putty

Convert PEM to PPK file format

拈花ヽ惹草 提交于 2019-11-29 18:54:23
Is there a way to convert PEM files to PPK files? (you may guess that Amazon EC2 gives me a PEM file, and I need to use the PPK format for SSH connectivity). Ryan Kinal Use PuTTYGen Creating and Using SSH Keys Overview vCloud Express now has the ability to create SSH Keys for Linux servers. This function will allow the user to create multiple custom keys by selecting the "My Account/Key Management" option. Once the key has been created the user will be required to select the desired SSH Key during the “Create Server” process for Linux. Create and Use SSH Keys Create keys Navigate to “My

How to export/import PuTTy sessions list?

陌路散爱 提交于 2019-11-29 18:30:54
Is there a way to do this? Or I have to take manually every record from Registry? Export cmd.exe , require elevated prompt: Only sessions: regedit /e "%USERPROFILE%\Desktop\putty-sessions.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions All settings: regedit /e "%USERPROFILE%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham Powershell: Only sessions: reg export HKCU\Software\SimonTatham\PuTTY\Sessions ([Environment]::GetFolderPath("Desktop") + "\putty-sessions.reg") All settings: reg export HKCU\Software\SimonTatham ([Environment]::GetFolderPath("Desktop") + "\putty.reg")

远程连接Kali Linux使用PuTTY实现SSH远程连接

▼魔方 西西 提交于 2019-11-29 17:30:58
远程连接Kali Linux使用PuTTY实现SSH远程连接 本书主要以在 Android 设备上安装的 Kali Linux 操作系统为主,介绍基于 Bash Shell 渗透测试。由于在默认情况下,在 Android 设备上安装的 Kali 操作系统没有安装任何工具。如果直接在手机或平板上安装一些软件时,可能不太方便。此时,用户可以在各种操作系统中远程连接到 Kali Linux 的命令行或图形界面。本节将分别介绍使用 SSH 和 VNC 远程连接 Kali Linux远程连接Kali Linux使用PuTTY实现SSH远程连接本文选自基于Android设备的Kali Linux渗透测试教程 。 1.3.1 SSH 远程连接 在 Android 设备上安装 Kali Linux 后,可以看到默认自动开启了 SSH 服务。在 Windows 和 Linux 中,都有相应的客户端可以远程连接到 SSH 服务。下面分别介绍 SSH 远程连接的方法。 1. 在 Windows 下使用 PuTTY 实现 SSH 远程连接 【实例 1-1 】演示在 Windows 下,使用 PuTTY 工具远程连接到 Kali Linux 操作系统(这里以 Android 设备上的 Kali 操作系统为例,其 IP 地址为 192.168.6.103 )。具体操作步骤如下所示 远程连接Kali

SSH客户端PuTTY 0.61发布

风流意气都作罢 提交于 2019-11-29 13:53:51
SSH Client PuTTY 0.61 Released SSH客户端PuTTY 0.61发布 posted by HAL2001 on Wed 13th Jul 2011 22:37 UTC 发表于:2011年7月14日 北京时间06:37 "After four long years, here comes a new version of PuTTY, the popular free telnet/SSH client for Windows and Unix platforms. PuTTY 0.61 brings new features, bug fixes, and compatibility updates for Windows 7 and various SSH server software. The new version supports SSH-2 authentication using GSSAPI, on both Windows and Unix. Users in a Kerberos realm should now be able to use their existing Kerberos single sign-on in their PuTTY SSH connections." “时隔四年之久,新版本的PuTTY

MTPuTTy使用

℡╲_俬逩灬. 提交于 2019-11-29 08:18:00
在开发过程中我们常常会有连接远程 lunix 服务器的需求,这个时候我们需要一个工具来帮助我们做这件事,而这类工具就是远程连接工具。常见的工具有XShell,SecureCRT,Putty等。这里我选用的是免费开源的Putty。 一、MTPuTTY 和 Putty 介绍   1. PuTTY 是一个Telnet/SSH/rlogin/纯TCP以及串行阜连线软件。较早的版本仅支援Windows平台,在最近的版本中开始支援各类Unix平台,并打算移植至Mac OS X上。除了官方版本外,有许多非官方的团体或个人将PuTTY移植到其他平台上,像是以Symbian为基础的移动电话。   2. MTPuTTY (多标签PuTTY) 帮助你管理不同的PuTTY连接,使用一个标签式的用户界面.每个 PuTTY 连接运行在不同的标签,你可以方便地切换它们。 二、软件准备   1.  下载 Putty   2.  下载 MTPuTTy   下载完成后按照默认的步骤进行安装即可。   Putty安装后的目录如下:   MTPuTTY也是默认安装即可。 三、将MTPuTTY和Putty关联起来   1. 打开MTPuTTY,进入Tools->PuTTY location,选择上面putty的安装目录即可。 四、新建Session填写服务器连接信息   1. 填写服务器IP地址,协议,登陆用户名和密码

putty设置字体颜色配置永久保存

牧云@^-^@ 提交于 2019-11-29 08:09:12
通过修改default setting来实现,注意之前保存的先删除,再重新保存,就可以应用到default配置了。 1. 点击default setting 2. Window---Appearance---选中ClearType 且点击chang按钮,至Consolas字体,常规,大小选择一个合适的。 3. Window---Behaviour---选中Full screen on Alt-Enter 4. Colours---Default Foreground---Red 0 Green 255 Blue 0 5. Colours---ANSI Blue--Red 255 Green 0 Blue 187 当然还可以修改 Window---Lines of scrollback 至2000000 来源: oschina 链接: https://my.oschina.net/beyondken/blog/3134767

Linux配置使用SSH Key登录并禁用root密码登录

被刻印的时光 ゝ 提交于 2019-11-29 07:44:07
Linux系统大多数都支持OpenSSH,生成公钥、私钥的最好用ssh-keygen命令,如果用putty自带的PUTTYGEN.EXE生成会不兼容OpenSSH,从而会导致登录时出现server refused our key错误。 1、root用户登陆后,运行以下第一句指令,其他根据提示进行输入: ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): #建议直接回车使用默认路径 Created directory '/root/.ssh' 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: 05:71:53:92:96:ba:53:20:55:15:7e:5d:59:85:32:e4 root

windows下自动上传war到Linux服务器,自动部署,自动重启Tomcat的系列脚本

梦想的初衷 提交于 2019-11-29 07:36:52
windows下自动上传 war 到 Linux 服务器 下面的 cmd 脚本通过 Maven 命令执行打包,生成 war 通过 pscp 将 war 上传到服务器 通过 plink 远程调用 Linux 上的 shell 脚本 其中 pscp 来自 PUTTY putty_privatekey 用于 plink 无密码登录 Linux,也可以通过用户名和密码的方式 其中 test-web-deploy.sh 用于自动部署 war @echo off set project_path=D:\svn-workspace\test-web set local_file=%project_path%\target\test-web.war set putty_privatekey=D:\soft\keys\test-privatekey.ppk set deploy-shell=test-web-deploy.sh set server_user_1=dev set server_passwd_1=123 set server_ip_1=10.32.22.61 set server_path=/usr/local/apps echo ---------------------------------------------- execute mvn clean install D: cd

How to pass value to psftp prompt

喜欢而已 提交于 2019-11-29 06:30:38
问题 I am creating a script file programmatically and call psftp.exe as follows: psftp user@hostname.com -pw password -b psftpscript.txt but it prompts for user input The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: [ssh-rsa 1024 somekey] If you trust this host, enter "y" to add the key to PuTTY's cache and carry on connecting. If you want to carry on connecting just once, without

Unable to connect to AIX(Unix) box with SSH.NET Library - Error : Value cannot be null

為{幸葍}努か 提交于 2019-11-29 04:19:47
I am trying to connect to an AIX box and execute some commands using SSH.NET library. The following is the code snipplet KeyboardInteractiveAuthenticationMethod kauth = new KeyboardInteractiveAuthenticationMethod(username); PasswordAuthenticationMethod pauth = new PasswordAuthenticationMethod(username, password); ConnectionInfo connectionInfo = new(ConnectionInfo(servername, 22, username, pauth,kauth); SshClient sshClient = new SshClient(connectionInfo); sshClient.Connect(); SshCommand sshCommand = sshClient.RunCommand("mpstat"); Console.WriteLine(sshCommand.Result); Console.ReadKey(); I get