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

learn more… | top users | synonyms

23
votes
4answers
20k 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 ...
22
votes
7answers
15k 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 ...
20
votes
6answers
6k 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 ...
18
votes
7answers
12k 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 ...
15
votes
2answers
23k 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?
14
votes
1answer
931 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
10answers
45k 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, ...
12
votes
4answers
15k 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 ...
10
votes
4answers
13k 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
1answer
2k 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 ...
9
votes
2answers
597 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
1answer
4k 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 ...
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
2k 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
3k 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
3answers
13k 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
6answers
10k 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 ...
7
votes
3answers
15k 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? ...
7
votes
2answers
4k views

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

CentOS 5.x 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 ...
7
votes
2answers
7k 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 ...
6
votes
2answers
15k 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
5answers
7k 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
13k 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) ...
6
votes
2answers
7k 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 ...
6
votes
3answers
123 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
13k 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
2answers
3k 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 ...
5
votes
5answers
3k 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
6answers
5k 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
3answers
2k 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
11k views

SSH Tunnel using PuTTY no longer works after server change

EDIT (for clarification) Windows Client Remote Linux Server |----------------------------------| |---------------------| ____________ ____________ ...
5
votes
3answers
12k 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 ...
4
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 ...
4
votes
2answers
338 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
1answer
3k 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 ...
4
votes
1answer
2k 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 ...
4
votes
2answers
11k 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 ...
4
votes
1answer
795 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 ...
4
votes
1answer
11k views

SSH Reverse Port Forwarding with PuTTy - how to specify bind address

Using Putty, I have set up a reverse proxy which allows me to connect on port 8080 of the server at server.tld to port 80 of the machine which initiated the SSH connection. The server allows me to ...
4
votes
2answers
2k views

Upload a file using scp only if the file was updated/modified?

pscp is a very handful tool if you want to upload files to another server using SSH. The only problem is that it is not able to detect if the destination file is already updated (based on datetime). ...
4
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 ...
4
votes
3answers
6k views

Setting up Git over SSH on Windows using a non-standard port

I had to switch from Ubuntu so that I could use Adobe Suite at full speed and now I'm finding that SSH on windows is not as unified as on linux. So I installed msysgit and putty but I'm finding that ...
4
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 ...
4
votes
3answers
823 views

Is there any way to use session multiplexing (Control Master) from windows?

On our Repository server adding a ControlMaster to the ssd/config file (creates socket?) resulted in a 50x transfer speed increase from roughly 2.5 seconds averaged to 0.05 seconds average. The ...
4
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 ...
3
votes
5answers
6k views

Recover an SSH private key?

I have an RSA key (generated by PuTTYgen) that's set up for logging in to a bunch of machines via SSH. Or rather, i HAD such a key. (The computer it was on crashed, to the point that a reinstall of ...
3
votes
2answers
749 views

Why are quotes and other non-alphanumeric characters not being rendered correctly when I ssh?

The following is a line from the the mysql man page when accessed from my computer running ubuntu with the gnome gui "Command-Line Options that Affect Option-File Handling". This line gets rendered ...
3
votes
4answers
5k 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 ...
3
votes
2answers
407 views

/etc/sudoer/ - Is it possible to enter into single user mode through putty?

I accidentally chown the /etc/sudoer/ folder so that my sudo command no longer works. (I can only ssh into this Linux Centos vm on windows azure) I don't have the root password and I wonder how I may ...