PuTTY is a free open source SSH/Telnet terminal emulation program for Windows and Unix like operating systems.

learn more… | top users | synonyms

30
votes
4answers
26k views

putty and screen and scroll-back buffer [closed]

When I use screen inside a putty session, I can't seem to use the scrollback buffer of putty to look at whatever just scrolled off the screen. Instead, I just see what was happening in the putty ...
27
votes
7answers
20k views

Using ctrl-arrow keys with PuTTY and screen

I searched and couldn't find a solution for this anywhere. I'm using PuTTY from Windows to connect to various servers where I run bash and screen. It seems bash works fine with ctrl-arrow keys to ...
26
votes
8answers
39k views

How to fix PuTTY showing garbled characters?

Connecting from a Windows 7 PC via SSH to an Ubuntu server using PuTTY, I get some screen errors: I.e. it: "Double-draws" the selection inside Midnight Commander (MC). Other characters like line ...
24
votes
2answers
41k views

How to make PuTTY settings persistent? [closed]

Some PuTTY settings are valid only for the current session, and when I start it again, they are at the default value again. How can I change the default values?
23
votes
12answers
79k views

How to recover from “Too many Authentication Failures for user root”

I've done several attempts to establish SSH-connecton for user root@host using putty terminal. While doing so I specified wrong credentials several times and after that I've specified them correctly, ...
23
votes
6answers
8k views

Can I use PLink and Pageant with Cygwin's ssh?

I'm now using msysgit because of the GUI tools, which use Putty's Pageant and PLink utilities, but I use Cygwin as a general SSH terminal. I had been using ssh-agent on Cygwin, but that means I have ...
19
votes
7answers
22k views

Is there a GUI alternative to Putty SSH for transferring files?

Or any gui ssh for amazon ec2 linux instance servers? I need to transfer files between two linux virtual servers and currently I have Putty (which amazon recommends). However I am new to the ...
16
votes
1answer
11k views

How do I specify port number for PuTTY to use with Windows cmd?

I start most of my SSH connections with a windows command like this cmd://"C:\Program Files\PuTTY\putty.exe" -ssh root@xxx.xx.xxx.xx I assume this defaults to port 22. Now I need to connect on a ...
13
votes
1answer
985 views

PuTTY typing its name into the console

I was doing a MySQL dump over SSH using Putty, and now it is just typing PuTTY over and over again into the console, Ctrl+C doesn't do anything. Does anyone know why this is happening?
13
votes
1answer
7k views

How to add SSH key to PuTTY Agent at startup in Windows Server?

I need to add a private SSH key to Putty Agent (pagent.exe) every time a Windows server starts up -- before a user logs on interactively. The key is to be used by a service. If it was a regular user ...
12
votes
4answers
25k views

changing colors of files/dirs in linux ls

I use putty with a black background and was wondering if there was or is a way to change the colors of the dirs which are dark blue. i noticed DIR_COLORS.xterm and DIR_COLORS do they play this role? ...
12
votes
2answers
14k views

Auto-storing server host key in cache with plink

i've been trying to issue commands using plink to retrieve information from my external server. note that these plink commands are ran from a binary that expects no input from the user. is there a ...
11
votes
5answers
14k views

Set xterm (PuTTY) window title when using screen?

I am trying to get screen to set my xterm title. I have this working outside of screen, but screen keeps whatever title was in place when I started it. Here is my .bashrc: function ...
9
votes
2answers
783 views

Any options out there for kerberized ssh client on windows?

Are there any good (reliable / free) ssh clients that work easily with Active Directory authenticated accounts in a Windows environment? Ideally that wouldn't need the Kerberos for Windows package? ...
8
votes
7answers
12k views

Can't get detached screen to resume

I use putty and have an unreliable wireless connection, so I use screen to keep my work going. Often I'll get disconnected, and then I can't reattach my screen. I'll run screen -D -RR and it will just ...
8
votes
2answers
19k views

How to start a reverse tunnel with PuTTY?

I am trying to make a tunnel between a server and laptop with Putty. The problem is, since the laptop has no public IP address, I have to make a reverse connection. ASCII Artwork: SERVER(PORT:6000) ...
8
votes
3answers
1k views

Synergy over a serial connection?

Synergy is a well known tool to have only one keyboard and mouse for two networked (TCP/IP) computers with a screen each. I loved to use it at my former job. Now, at my new job, I've still got two PC, ...
7
votes
6answers
3k views

Why should I use a well-known port number? (ex. 22, 80, etc…)

I just set up remote ssh for the first time with openssh. I was able to ssh into my server with putty using the following three settings: /etc/init.d/ssh restart # What ports, IPs and protocols we ...
7
votes
2answers
4k views

Weird symbols always appearing in command line (putty / zsh)

I've had this problem for a while and I hope it's a pretty easy fix: In various places, I'll see weird symbols appearing in the command line. Such as 'â'. It seems like it's replacing some other ...
7
votes
2answers
4k views

SSH from PuTTy to Debian “authorized_keys is not a regular file” Error

I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication. I get this error when running SSH in debug mode: User myuser ...
7
votes
5answers
12k views

Set PuTTY's window title to name of loaded session?

Normally, when you load a saved session in PuTTY and connect to it, PuTTY will set the window title to the host name of the system you connected to (plus the string "PuTTY"). Now I have many ...
7
votes
1answer
593 views

Why is FileZilla so much faster than PSFTP?

I'm using FileZilla 3.10.3 and PSFTP 0.63 (PuTTY). Can anyone help me figure out why the throughput I get is so drastically different between the two clients? It can't just be a shortcoming of the ...
7
votes
3answers
27k views

PSCP: Upload an entire folder, Windows to Linux

I am using PSCP to upload some files from windows to linux. I can do it fine just uploading one file at a time. But I have some very large directories and I want to upload an entire dir at once. I ...
7
votes
2answers
6k views

Can I use an SSH tunnel to access a web server that's listening on a different IP/Port on the same server?

I've got a web server that isn't quite ready for general availability but I'd still like to test some things remotely. Can I leverage an SSH tunnel to connect to the server and then use the tunnel to ...
7
votes
2answers
8k views

How can I login amazon ec2 with root directly in putty or winscp?

0 down vote favorite 1) How can I login amazon ec2 with root directly in putty?? each time i need to su - root first and change to root...is there any other ways?? 2) How can I login amazon ec2 ...
7
votes
5answers
8k views

How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?

I have used Puttygen to create a public and a private key, and I'm now ready to let TortoiseHg on Windows 7 do a clone by going to ssh://somebody@code.somewhere.com/somecode but there seems to be ...
6
votes
2answers
22k views

how to tunnel Windows Remote Desktop through ssh using a linux box?

I have two physical servers in my home network, linux (192.168.8.x) and windows server 2008 (192.168.8.y). The linux server ist accessible from outside by ssh on a non-standard port (say 23008). How ...
6
votes
3answers
1k views

Copying over SSH via Putty tools is slower than via WinSCP

Uploading from my Windows PC (1) to my Ubuntu machine (2) in another city using PuTTY tools is slow. I tested this over OpenVPN tunnel and via port forwarding to (2). It turns out that using rsync ...
5
votes
2answers
20k views

Run OPTIMIZE TABLE to defragment tables for better performance

I am running Linux 64-Bit OS. My mysql tuner is saying the things below: -------- General Statistics -------------------------------------------------- [--] Skipped version check for MySQLTuner ...
5
votes
3answers
2k views

Can putty beep when tailing a log file?

I have a putty session tailing a log. I either keep flipping to it to see in anything has come up or I forget to check it at all. Can putty or tail be made to "beep" if anything scrolls into the ...
5
votes
4answers
3k views

GNU screen display + from putty

Does anyone here know how to get the +-*/ on the numerical keypad to work in GNU screen from putty? Numbers work fine but not the operators. The / seems to be bind to rename the current shell or ...
5
votes
5answers
4k views

“Stream” tar action from remote server through Putty?

I am accessing a shared hosting account through Putty / SSH. The account is pretty full, 300 MB below its quota. I need to make a full backup of all data present on the account. Creating a bzip2 file ...
5
votes
3answers
5k views

Windows-to-linux: Putty with SSH and private/public key pair

I spent about 3 hours trying to figure out how to connect to a linux box from my windows machine using putty without having to send the password. This is connecting to an Ubuntu server that is using ...
5
votes
6answers
7k views

SSH clients periodically freeze under Windows 7

I am running Windows 7 Professional 64-bit. Two different SSH clients are exhibiting a strange habit of periodically freezing or hanging. I have tried both putty and Van Dyke's SecureCRT SSH clients ...
5
votes
2answers
16k views

Strange Problem: Connection Reset By Peer

I am having some trouble with SSH on my linux server running CentOS. I can connect to my server fine using PuTTY or ssh from windows cmd. The same goes for using secure FTP. I can connect to the ...
5
votes
1answer
3k views

PuTTY line wrapping stopped working properly

I use PuTTY to SSH to my linux server. Today I noticed that when I enter a long command that goes beyond the right hand of the screen, instead of wrapping down to the next line, the text starts at ...
5
votes
6answers
12k views

SSH Tunnel using PuTTY no longer works after server change

EDIT (for clarification) Windows Client Remote Linux Server |----------------------------------| |---------------------| ____________ ____________ ...
5
votes
1answer
1k views

X11 Forwarding works on Windows with Xming and Putty, but not with ssh command line

I have a micro Amazon instance the I want to use for testing and everything is going fine until the title. If I set up all the info in PuTTy, open it up and run 'xclock', all runs perfectly and it ...
5
votes
2answers
2k views

Putty + Bash + Screen, up arrow for history not working (Ubuntu 11.10)

I have a fresh install of Ubuntu Server 11.10 that I am logging into SSH via PuTTy. When I am inside screen, I cannot use the up arrow to recall bash history (though this works outside of screen). I ...
5
votes
3answers
18k views

PuTTY fatal error: Server refused to start a shell/command

I've always used PuTTY (win32) in order to access my servers through SSH. Yesterday I upgraded OpenSSH on my server from 4.3 to 5.8 and it seems that PuTTY doesn't work now. It asks for a password, ...
5
votes
2answers
1k views

Freebsd doesn't show command output correctly in Putty

I have just installed the latest stable version of FreeBSD to a computer and I have the following problem: If, in Putty, I issue a command like ps uxa which gives long lines of output, they get ...
5
votes
5answers
8k views

How to make Putty remember window size/position

I would like Putty (or the OS - WinXP) to remember the size/position of the window. The rows/columns settings only affects the work area, but does not "zoom in". I would like the same effect as I get ...
5
votes
2answers
2k views

Terminal.app does not support alt/meta/command-key modifiers such as meta-backspace

This was observed on Mac OS X 10.5, running Terminal.app. On a native Linux machine, from a bash command prompt, typing meta-backspace deletes up until the most recent whitespace. On a Mac, it ...
5
votes
3answers
12k views

Remote Desktop over SSH to Windows 7 box

I have been using remote desktop to access a Windows 7 PC, tunneled over an SSH connection, successfully for a while now, until it suddenly stopped working. The client is also Windows 7, and I ...
4
votes
2answers
527 views

How to SSH to a remote server using a private key on Linux?

I have been trying to connect to a remote server using my private key file from the terminal, but it doesn't seem to work. I don't understand why. Here is how I do it: $ ssh -i private.ppk ...
4
votes
3answers
13k views

Is there a way to permanently set the font and window size in putty?

When I log in with putty, I always have to: change settings appearance font change 8 resize window so that I can see enough text to work with the log files. I don't see where I can save these ...
4
votes
2answers
403 views

From log file into terminal in realtime

I'm on Ubuntu. Is it possible to open putty and watch as a log file updates right in terminal? Like if stdout would have been directed in terminal? For example I have one application's stdout and ...
4
votes
4answers
6k views

Can I rsync from Putty on windows to my Cent OS server?

I'm a bit new to the command line and UNIX but am finding it hugely useful. Is it possible for me to rsync from putty on my windows 7 machine to my virtual server? If not what are my other command ...
4
votes
2answers
11k views

Changing the passphrase of a puttygen private key in Windows

I have a private key in Windows, created by puttygen.exe. I used default options to save it, the tool automatically gave it a .ppk extension, and it looks like this: PuTTY-User-Key-File-2: ssh-rsa ...
4
votes
1answer
6k views

Can PuTTY be configured to display the following UTF-8 characters?

I'd like to be able to render the characters as seen in this tweet: I saved the tweet's JSON data and wrote a one-liner python script for testing. python -c 'import json,urllib; print ...