Questions tagged [putty]

PuTTY is an open source SSH and Telnet client. Use this tag only if your question relates to *programming* PuTTY or using PuTTY-based APIs. Questions relating to using or troubleshooting PuTTY usage are off-topic.

PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator.

Do not attach this tag to questions simply because you are using PuTTY to connect to a server. Indeed, unless you are developing software based on PuTTY, this tag is, probably, not appropriate. Questions about using PuTTY will generally belong to Super User.

Some features of PuTTY are:

  1. The storing of hosts and preferences for later use.

  2. Control over the SSH encryption key and protocol version.

  3. Command-line SCP and SFTP clients, called "pscp" and "psftp" respectively.

  4. Control over port forwarding with SSH (local, remote or dynamic port forwarding), including built-in handling of X11 forwarding.

  5. Emulates most xterm, VT102 control sequences, as well as much of ECMA-48 terminal emulation IPv6 support.

  6. Supports 3DES, AES, Arcfour, Blowfish, DES.

  7. Public-key authentication support (no certificate support).

  8. Support for local serial port connections.

  9. Self-contained executable requires no installation.

  10. Supports the zlib@openssh.com delayed compression scheme.

Resources:

  1. tagged PuTTY on Unix & Linux
  2. tagged PuTTY on SuperUser
  3. tagged PuTTY on Ask Ubuntu
  4. tagged PuTTY on Server Fault
2171 questions
725
votes
15 answers

How to export/import PuTTy sessions list?

Is there a way to do this? Or I have to take manually every record from Registry?
s.webbandit
  • 15,198
  • 14
  • 53
  • 79
488
votes
10 answers

How to convert SSH keypairs generated using PuTTYgen (Windows) into key-pairs used by ssh-agent and Keychain (Linux)

I've generated key pairs using PuTTYgen and been logging in using Pageant, so that I have to enter my pass-phrase only once when my system boots. How do I achieve this in Linux? I've heard of keychain but I hear that it uses a different key pair…
TCSGrad
  • 11,324
  • 13
  • 46
  • 68
306
votes
12 answers

How to best display in Terminal a MySQL SELECT returning too many fields?

I'm using PuTTY to run: mysql> SELECT * FROM sometable; sometable has many fields and this results in many columns trying to be displayed in the terminal. The fields wrap onto the next line so it is very hard to line up column titles with field…
Chris Jacob
  • 10,898
  • 7
  • 45
  • 42
143
votes
11 answers

Convert PEM to PPK file format

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).
LoneRanger
  • 1,679
  • 2
  • 12
  • 13
124
votes
5 answers

Using numpad in Vi (Vim) via PuTTY

The numberpad does not work properly when using Vim through PuTTY. Instead of numbers I get y x w v u t s r q
Pykler
  • 13,495
  • 9
  • 39
  • 47
104
votes
20 answers

git - Server host key not cached

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…
Rene Terstegen
  • 7,551
  • 17
  • 49
  • 71
91
votes
12 answers

Transfer files to/from session I'm logged in with PuTTY

I'm logged into a remote host using PuTTY. What is the command to transfer files from my local machine to the machine I'm logged into on PuTTY?
blue-sky
  • 45,835
  • 124
  • 360
  • 647
88
votes
30 answers

Putty: Getting Server refused our key Error

I created key pair using puttygen.exe (client is windows 8). On server (Ubuntu 12.04.3 LTS), I have put my public key in ~/.ssh/authorized_keys. The public key is this: ssh-rsa…
PawelRoman
  • 5,551
  • 4
  • 25
  • 36
84
votes
9 answers

Change mysql user password using command line

I'm trying to update the password for a database user using the command line, and it's not working for me. This is the code I'm using: mysql> UPDATE user SET password=PASSWORD($w0rdf1sh) WHERE user='tate256'; Could someone tell me what's wrong with…
user3310572
  • 969
  • 1
  • 6
  • 6
83
votes
2 answers

How can I copy a file from a remote server to using Putty in Windows?

How do I copy a file from a remote server to my local Windows system using a Putty session?
Sandeep
  • 3,164
  • 5
  • 16
  • 22
75
votes
5 answers

how to paste to vim when using putty

I am using putty to connect a remote host and editing via vim. I meet a trouble when I try to paste something to vim. That's, I copy something to clipboard in my local host and want to paste it to the vim in the remote host. How to do that? ps: I am…
dj199008
  • 1,599
  • 2
  • 14
  • 23
73
votes
3 answers

How to upload files to server using Putty (ssh)

Can someone help me with commands? I'm trying to upload file to server based on linux.
RaShe
  • 1,667
  • 2
  • 25
  • 40
72
votes
6 answers

How to download a file from my server using SSH (using PuTTY on Windows)

When I try downloading a file from my server onto my computer, it actually downloads the file onto the server. (Note I am already SSH'd into my server before typing this command. I've watched tutorials on YouTube and people are using their terminal…
SobieSki
  • 759
  • 1
  • 5
  • 5
72
votes
5 answers

Arrow keys in Putty returning ^[[A ^[[D ^[[B instead of moving the cursor

Has anyone else ever had this error in PuTTy? For example, pressing the Up Key now produces: >>> ^[[A Google doesn't let you search for special characters so I'm stumped at finding existing version of this problem. EDIT: So this happened after I…
LittleBobbyTables
  • 3,645
  • 8
  • 28
  • 59
69
votes
9 answers

Automating running command on Linux from Windows using PuTTY

I have a scenario where I need to run a linux shell command frequently (with different filenames) from windows. I am using PuTTY and WinSCP to do that (requires login name and password). The file is copied to a predefined folder in the linux…
Nemo
  • 20,986
  • 9
  • 41
  • 56
1
2 3
99 100