putty

git - Server host key not cached

被刻印的时光 ゝ 提交于 2019-11-27 17:11:32
I try to push changes from my local repo to a remote repo. When I type: git push origin I get the following error: 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 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Connection abandoned. fatal: The remote end hung up unexpectedly How can I solve this? I'm using git from the command line in Windows 7. Edit When I try to do a simple ssh ssh user@hostname I get the following error: Could not create directory '/c//%HOMEDRIVE%

PuTTYgen doesn't give me the option for SSH-2 RSA

一个人想着一个人 提交于 2019-11-27 17:10:38
问题 I've been accessing my AWS EC2 instance from Ubuntu for years with no issues. I'd like to also connect to it from a Windows machine. The procedure seems straight forward... copy my *.pem file to the Windows machine and convert to *.ppk using PuTTYgen. The Amazon instructions provide the following... But when I open PuTTYgen, I get... No option is available for SSH-2 RSA. What am I missing here? How do I create a .ppk in SSH-2 RSA format, when there isn't a given option? 回答1: Just skip the

Sending a file via POST using raw HTTP (PuTTY)

会有一股神秘感。 提交于 2019-11-27 12:34:26
问题 If I set up an HTML page with the following form: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> I can upload a file to upload_file.php where I can handle it using a PHP script. For testing purposes, I need to do the same using raw HTTP via a PuTTY session. I can do a normal POST (just

putty和psftp命令行参数

跟風遠走 提交于 2019-11-27 12:07:27
putty和psftp命令行参数 https://the.earth.li/~sgtatham/putty/latest/w32/putty.zip https://the.earth.li/~sgtatham/putty/latest/w64/putty.zip https://the.earth.li/~sgtatham/putty/latest/puttydoc.zip https://the.earth.li/~sgtatham/putty/latest/putty-0.72.tar.gz https://the.earth.li/~sgtatham/putty/latest/putty-src.zip https://git.tartarus.org/?p=simon/putty.git putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host Example: putty -ssh -l vagrant -pw vagrant -P 2222 127.0.0.1 -V print version information and exit -pgpfp print PGP key fingerprints and exit -v show verbose messages -load sessname Load

如何在 Linux 中安装并使用 PuTTY

Deadly 提交于 2019-11-27 11:58:39
PuTTY 是一个自由开源且支持包括 SSH、Telnet 和 Rlogin 在内的多种协议的 GUI 客户端。一般来说,Windows 管理员们会把 PuTTY 当成 SSH 或 Telnet 客户端来在本地 Windows 系统和远程 Linux 服务器之间建立连接。不过,PuTTY 可不是 Windows 的独占软件。它在 Linux 用户之中也是很流行的。本篇文章将会告诉你如何在 Linux 中安装并使用 PuTTY。 在 Linux 中安装 PuTTY PuTTY 已经包含在了许多 Linux 发行版的官方源中。举个例子,在 Arch Linux 中,我们可以通过这个命令安装 PuTTY: $ sudo pacman -S putty 在 Debian、Ubuntu 或是 Linux Mint 中安装它: $ sudo apt install putty 使用 PuTTY 访问远程 Linux 服务器 在安装完 PuTTY 之后,你可以在菜单或启动器中打开它。如果你想用终端打开它,也是可以的: $ putty PuTTY 的默认界面长这个样子: PuTTY 默认界面 如你所见,许多选项都配上了说明。在左侧面板中,你可以配置许多项目,比如: 修改 PuTTY 登录会话选项; 修改终端模拟器控制选项,控制各个按键的功能; 控制终端响铃的声音; 启用/禁用终端的高级功能; 设定

Can I pass RSA hostkey of server as PuTTY command line option?

杀马特。学长 韩版系。学妹 提交于 2019-11-27 06:27:25
问题 Do we have option on PuTTY command line to send RSA hostkey as an argument similar to WinSCP -hostkey .? PuTTY command currently used: putty.exe -ssh -l username -pw password -m command.txt RemoteServerIP Is there a option like WinSCP where RSA hostkey can be passed just like below: open sftp://username :password@RemoteServerIP/ -hostkey="ssh-rsa 2048 11:2c:5d:f5:22:22:ab:12:3a:be:37:1c:cd:f6:13:d1" Also let me know, if my option of using PuTTY for this task is a bad option. Detailed

Google server putty connect 'Disconnected: No supported authentication methods available (server sent: publickey)

╄→尐↘猪︶ㄣ 提交于 2019-11-27 05:30:54
问题 I'm trying to connect to my Debian Google Compute Engine server through PuTTy (I've tried other alternatives too) but when I do I get the error "Disconnected: No supported authentication methods available (server sent: publickey) The google server came without a username and password, only a url to automatically login to their own terminal. 回答1: I had PuTTY working and then one day got this error. Solution : I had revised the folder path name containing my certificates (private keys), and

Run shell script (with parameters) on Windows command line via Plink

二次信任 提交于 2019-11-27 05:09:49
I need to execute a shell script remotely inside the Linux box from Windows #!/bin/bash if [ "$#" -ne 1 ]; then echo "Illegal number of parameters" exit fi echo "$1" Here is the command I ran from Windows command prompt cmd> plink.exe -ssh username@host -pw gbG32s4D/ -m C:\myscript.sh 5 I am getting output as "Illegal number of parameters" Is there any way I can pass command line parameter to shell script which will execute on remote server? You misunderstand how the -m switch works. It is just a way to make plink load the commands to send to the server from a local file. The file is NOT

Batch file for PuTTY/PSFTP file transfer automation

南笙酒味 提交于 2019-11-27 04:30:31
问题 I have a batch file for moving file from my local PC to server through SFTP. I have PuTTY installed in my system and the batch file code follows. cd C:\Program Files (x86)\PuTTY psftp open <IP> <user> <PW> cd /home/irisuser/iris/integration/dls_dlsblr_dlschnn_in_msg/in lcd d:\ put log.sh bye The above code perfectly works when I type it in command prompt. But when I double click the .bat file and run it, it's not running and asking for username and password to be entered. My aim was to

Makefile error make (e=2): The system cannot find the file specified

旧街凉风 提交于 2019-11-27 02:11:37
问题 I am using a makefile in windows to push some files on a Unix server (here a text file "blob.txt" in the same folder of my makefile). My makefile script is: setup: pscp blob.txt username@hostname:/folder/ I start a command prompt, go in the folder where blob.txt and the makefile are present and type: make setup Which results in: pscp blob.txt username@hostname:/folder/ process_begin: CreateProcess(NULL, pscp blob.txt username@hostname:/folder/, ...) failed. make (e=2): The system cannot find