putty

How can I copy file from Putty to windows? [closed]

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I opened putty and connected to the server with my login ID and password. And trying to copy a file which is present there to my local windows system. 回答1: It worked using PSCP. Instructions: Download PSCP.EXE from Putty download page Open command prompt and type set PATH=<path to the pscp.exe file> In command prompt point to the location of the pscp.exe using cd command Type pscp use the following command to copy file form remote server to the local system pscp [options] [user@]host:source target So to copy the file /etc/hosts from the

How to prevent PuTTY shell from auto-exit after executing command from batch file in Windows?

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have written a batch file like this: Start putty.exe -ssh 172.17.0.52 -l root -m dummy.txt Then in dummy.text I have written this command: avahi-daemon --no-drop-root -D export XVHMI_USERCONFIG_PATH=/home/UserProfileConfig export XDG_RUNTIME_DIR=/tmp cd /opt/bosch/airis/bin When I run the .bat file, PuTTY starts, commands execute (hopefully, not sure) and it exits. How to keep that window open? I have googled for the same, but no solid help. I read on stack overflow itself that we need to define something in txt file, but what and most

SSH to Amazon EC2 instance using Putty in windows

你说的曾经没有我的故事 提交于 2019-12-03 02:18:30
问题 I am a newbie to Amazon web services, was trying launch an Amazon instance and ssh to it using putty from windows. These are the steps I followed, Created a key pair. Created security group with rule for SSH and HTTP. Launched and instance of EC2 using the above key pair and security group. Using puttygen converted the *.pem file to *.ppk Using putty tried connecting to the public dns of the instance and provided the *.ppk file. I logged in using 'root' and 'ec2-user', and created the ppk

Configure Git to use Plink

匿名 (未验证) 提交于 2019-12-03 02:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to configure Git to use Plink. It worked for me many times before. Now, for some reason, this option isn't available to me (it is disabled): I tried uninstalling and reinstalling Git a hundred times. Nothing. I can't get to this option enabled. 回答1: This is an old question, and I just have the same problem, just to be sure I will write down the solution that worked for me. The msysgit installer didn't show the screen that allows to select between the openssh client and the Tortoise (plink) The solution is to install Putty (or

Import and insert sql.gz file into database with putty

半世苍凉 提交于 2019-12-03 02:03:50
问题 I want to insert a sql.gz file into my database with SSH. What should I do? For example I have a database from telephone numbers that name is numbers.sql.gz , what is this type of file and how can I import this file into my database? 回答1: The file is a gzipped (compressed) SQL file, almost certainly a plain text file with .sql as its extension. The first thing you need to do is copy the file to your database server via scp.. I think PuTTY's is pscp.exe # Copy it to the server via pscp C:\>

Google server putty connect &#039;Disconnected: No supported authentication methods available (server sent: publickey)

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 this caused Pageant to lose track of the certificates

How can I copy file from Putty to windows? [closed]

天涯浪子 提交于 2019-12-03 01:50:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I opened putty and connected to the server with my login ID and password. And trying to copy a file which is present there to my local windows system. 回答1: It worked using PSCP. Instructions: Download PSCP.EXE from Putty download page Open command prompt and type set PATH=<path to the pscp.exe file> In command

Windows PuTTY - git error - No supported authentication methods

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I don't have this problem when I use git locally on my machine, ONLY when logged in via SSH with PuTTY. FYI my server is using freeSSHd. Assuming my current directory is my git repository's local directory... The command git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin issues the following error: FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey) Again, this only happens when I'm logged in via PuTTY and not when I'm in the command prompt when I'm physically at the server.

Git Bash &amp; Pageant not using keys

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've got Git for Windows (configured for MinTTY and PuTTY\plink.exe ) and PuTTY installed, and am trying to get it to work with a BitBucket repository. I've got my SSH key loaded, in Pageant and on the website, and yet whenever I attempt to do anything that requires pulling/pushing: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. When I run the suggested ssh -v hg@bitbucket.org it uses id_rsa but none of my other keys in ~/.ssh .

putty 复制粘贴

匿名 (未验证) 提交于 2019-12-03 00:27:02
从putty复制: 用左键选中文字,再点中键就可以粘贴。 在putty中粘贴: 在其他地方选中文字,不用复制,保持高亮就可以了,然后在putty中点中键就可以粘贴。 文章来源: putty 复制粘贴