Hot answers tagged

62 votes

How can I set PuTTY's window title to the name of the loaded session?

The solution below seems to solve this problem. 1) Go to the aforementioned Window/Behaviour/Window Title setting and put in a title that makes sense to you. 2) Go to the Terminal/Features ...
user avatar
  • 631
41 votes

How to fix PuTTY showing garbled characters?

I had an issue with Debian's aptitude program even though I had UTF-8 as my characters set. What worked for me was to set the 'Connection > Data > 'Terminal-type string' to 'putty' instead of 'xterm' -...
user avatar
26 votes
Accepted

openssh - Adding an ssh key from putty to authorized_keys

There is an accepted answer for this question, but I think it's worth noting that there is a way to do this using the ssh-keygen tool rather than sed: ssh-keygen -i -f ssh2.pub > openssh.pub ...
user avatar
24 votes

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

Once you are done with your appearance and font settings save that to Default Settings session. This will help all your next session to open with the default settings you saved. Otherwise, you need to ...
user avatar
  • 241
24 votes
Accepted

Why is FileZilla so much faster than PSFTP?

The FileZilla uses a PuTTY/psftp source code for an SFTP implementation. Actually the FileZilla runs a hidden PSFTP sub-process. But it uses its own build of PSFTP (FzSFtp.exe) that employs few ...
user avatar
22 votes

How to recover from "Too many Authentication Failures for user root"

For me this problem was solved by creating the below ssh_config for the host I was connecting to. (~/.ssh/config) Host example HostName example.com User admin IdentityFile ~/path/to/ssh_key_rsa ...
user avatar
  • 409
21 votes
Accepted

PuTTY typing its name into the console

Yes. Your mysql dump is not clear text, but contains terminal controlling characters as well. Practically, it contains binary data. You can experience the similar flash if you print any binary data ...
user avatar
  • 4,894
20 votes
Accepted

How can I set PuTTY's window title to the name of the loaded session?

To change the PuTTY SSH session window title (one by one manually by the PuTTY GUI): For Windows & Debian Load a session from PuTTY. On left side tree menu, click on: Window → ...
user avatar
  • 320
20 votes
Accepted

How to enable KeepAlive in putty command line

You could connect as per your post and then right click on the title bar and "Change Settings", "Connection", and put in a number in the "Seconds between keepalives" (I usually put in 60). If needed, ...
user avatar
20 votes

openssh - Adding an ssh key from putty to authorized_keys

Remove the BEGIN and END lines Optionally remove the Comment line (you can keep note of this if you want to add it as a comment later) Remove all remaining line-breaks Add the text "ssh-rsa" to the ...
user avatar
  • 9,330
19 votes

How can I set PuTTY's window title to the name of the loaded session?

This function will set the title of your PuTTY window to the given string: # Set title title() { echo -ne "\033]0;"$1"\007" } You can use this to set the title from the command line or from ...
user avatar
18 votes

How to fix PuTTY showing garbled characters?

After 15 years I got annoyed once more and googled around again, found this, chose change settings → window → translation → remote char set → "use font encoding" and that fixed it.
user avatar
  • 180
15 votes

Used PowerShell to change my RHEL root passwords via PuTTY, but I don't know what I changed my password to

The problem is you are trying to pass SecureString into something that expects a standard string. The Password property is in SecureString format, you won't be able to pass this to plink, it will just ...
user avatar
14 votes

How to fix PuTTY showing garbled characters?

Also, if UTF-8 is not properly configured, you may run it as mc -ac. Credits: http://blog.acsystem.sk/linux/midnight-commander-utf8-line-drawing-characters-problem
user avatar
  • 171
14 votes
Accepted

SSH "lag" in LAN on some machines, mixed distros

Typically this is a sign of Nagle's algorithm, you can turn that socket option off. (I have seen similar TCP delays between Linux and Windows before in other cases as well. In one case it was caused ...
user avatar
  • 835
13 votes

How to fix PuTTY showing garbled characters?

Window → Translation → "Enable VT100 line drawing even in UTF-8 mode". This fixes the display of both mc and wavemon for me.
user avatar
13 votes
Accepted

How to change the ssh port for a specific ip address?

The most comfortable solution in long-term is to add the host to your ~/.ssh/config file. Edit/create the file and add: Host home User root Hostname myipaddress Port 6091 Then you can simply ...
user avatar
13 votes
Accepted

Run remote command with putty

You might want to use plink (which is shipped with putty) instead of putty for this. Quote from the documentation: Plink is a command-line connection tool similar to UNIX `ssh'. It is ...
user avatar
11 votes
Accepted

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

This is a putty key. It will not work with *nix ssh clients. You need to use PuTTYgen or similar software in order to convert your key to openssh format.
user avatar
  • 1,632
10 votes

How to fix PuTTY showing garbled characters?

The two basic factors are Window/Translation UTF-8 in putty and locale settings in Linux, as instructed here and many other places. In addition, it may help in putty to set Connection/Data/Terminal-...
user avatar
  • 101
10 votes

How to fix PuTTY showing garbled characters?

For all you poor old VMS guys that end up here: PuTTY → Window → Translation → Remote character set → DEC-MCS worked for me.
user avatar
10 votes

How to change the ssh port for a specific ip address?

ssh -p 6091 root@myipaddress -p port Port to connect to on the remote host. This can be specified on a per-host basis in the configuration file.
user avatar
  • 333
9 votes

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

I use PuTTY for this. The setting you're looking for is called "Share SSH connection if possible" under the "Connection->SSH" section. From other answers, it seems to be available from PuTTY 0.64 ...
user avatar
  • 91
9 votes
Accepted

Putty Kerberos/GSSAPI authentication

On Windows machines that are part of an Active Directory domain, users receive their Kerberos ticket-granting ticket when they log into Windows, and PuTTY is able to use that for authentication if ...
user avatar
8 votes

How to recover from "Too many Authentication Failures for user root"

To temporarily address this issue until things can be fully addressed as noted elsewhere, you can reset a user's PAM tally so they can try again: pam_tally --reset --user <USERNAME> pam_tally2 -...
user avatar
8 votes

PSCP: Upload an entire folder, Windows to Linux

Disclaimer: You don't need to use -i for this. It's for private key file authentication. Just use -r to copy the source files recursively. You might want a drag and drop method since you're using ...
user avatar
8 votes

How to search for text in a PuTTY console window

I use a very clever trick (if I do say so). Answer is NO, putty can't do a find in the scroll back buffer. Here's my workaround: I enable putty session logging, and then have the session log ...
user avatar
  • 81
8 votes

Do i have to always carry *.pem file to log in my AWS server in other computer?

Do you have to? No Should you? Yes Why Private Keys? You can configure SSH access a number of different ways. private/public key pair is a common (and SECURE) method for Linux servers and the ...
user avatar
  • 4,529
8 votes

Copying over SSH via PuTTY tools is slower than via WinSCP

WinSCP uses PuTTY code internally. So there should not be any difference in an encryption algorithm selected. Though WinSCP employs some optimizations on top of the PuTTY code, particularly larger ...
user avatar
8 votes

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

openssh and PuTTY are using different key types (but you can convert between them). In PuTTYgen you need to go to Conversions->Export OpenSSH, export your private key and store it as id_rsa. More ...
user avatar
  • 9,025

Only top scored, non community-wiki answers of a minimum length are eligible