Questions tagged [putty]

Questions about using the PuTTY client on Unix/Linux platforms, or about issues where PuTTY behaves differently to other SSH clients when connecting to Unix/Linux hosts. Don't use this tag just because you happen to use PuTTY to connect to your server!

PuTTY is a terminal emulator client developed by Simon Tatham, and is considered Beta Saftware. RSA, DSA, 3DES, AES, Arcfour & Blowfish cryptographic algorithms/ciphers are supported.

The following applications are distributed alongside putty:

  • pscp - Secure Copy
  • psftps - SSH File Transfer Protocol
  • puttytel - Telnet
  • plink - PuTTY backend API
  • pageant - SSH authentication agent for all PuTTY applications
  • puttygen - Public-key cryptography generation tool
  • pterm - Terminal emulator simulare to xterm & VT102
320 questions
574
votes
7 answers

Scroll inside Screen, or Pause Output

I use screen for my command-line tasks while managing the servers where I work. I usually run small commands (mostly file-system tasks) but sometimes I run more extensive tasks (like DBA). The output of those tasks is important to me. Since I use…
AeroCross
  • 6,273
  • 4
  • 17
  • 7
231
votes
5 answers

How to use wildcards (*) when copying with scp?

Why can't I copy with scp when I'm using * characters in the path? scp SERVERNAME:/DIR/* . What configuration does SCP need in order to allow * in the path? UPDATE: the problem is not on server side; pscp is trying to use SCPv1, and that's why the…
LanceBaynes
  • 39,295
  • 97
  • 250
  • 349
182
votes
6 answers

Trying to SSH to local VM Ubuntu with Putty

I have set up a VM of Ubuntu server, have installed OpenSSH, and am now trying to connect to it using Putty. Within Putty, under "Host name", I put "Ubuntu", given this is what I thought it was called when I set up the VM. However, I just get the…
wickywills
  • 2,093
  • 3
  • 14
  • 18
72
votes
5 answers

Can mouse wheel scrolling work in a Screen session?

Is there any way to use the mouse wheel to scroll through the output of a screen session? I can use the keypad scroll through previous output in screen after pressing ctrl+a [. Is it possible to do this with the mouse wheel? (I'm using putty, but I…
kristi
  • 821
  • 1
  • 7
  • 6
65
votes
6 answers

View full commands in ps output

When running ps with the -f option in PuTTY (to see the command corresponding to each process), lines which are longer than the terminal width are not fully visible (they are not wrapped on multiple lines). How can I force line wrapping so that I…
sdabet
  • 961
  • 2
  • 8
  • 14
64
votes
3 answers

What is the difference between an OpenSSH key and PuTTY key?

I've found that ssh-keygen ("ssh" package) produces different keys from puttygen ("putty" package). If I create public and private keys with ssh-keygen some SSH servers will not accept my keys. If I create keys with puttygen only one server does…
YarLinux
  • 1,143
  • 1
  • 9
  • 13
51
votes
3 answers

Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is detailed in roughly 20 lines…
Flame_Phoenix
  • 859
  • 4
  • 9
  • 13
44
votes
3 answers

Force GNU screen to reflow to current terminal width on reattach?

I would like to force GNU screen to reflow to the existing terminal width when I reattach a session. It seems to me this worked properly before I upgraded a machine to CentOS 6, but I cannot figure out how to restore it. (TERM=xterm) Whenever I…
Michael
  • 786
  • 1
  • 6
  • 12
41
votes
8 answers

How to make putty to not break my session after some time?

Each time putty is closing the session after some time if it is idle. There is no time parameter on putty, so how can I keep my putty ssh session always Alive?
cnd
  • 1,893
  • 5
  • 18
  • 28
37
votes
7 answers

Can I transfer files using SSH?

I am using PuTTY on Windows 7 to SSH to my school computer lab. Can I transfer files from my Windows machine to my user on the school machines using SSH?
Alex Mohr
  • 512
  • 2
  • 6
  • 10
33
votes
3 answers

SSH server gives "userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]" when connecting with Putty

I have built a new Ubuntu server in AWS. Now for some reason my private key that works on other Ubuntu servers is not working her . The error in auth.log is userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] This only is an…
Aditya K
  • 1,950
  • 5
  • 18
  • 33
33
votes
5 answers

How to fix Ctrl + arrows in Vim?

I am using Putty -> Suse box -> vim 7.2 combo for editing and want to remap Ctrl + arrows combo to a particular task. But for some reason, Vim ignores the shortcut and goes into insert mode and inserts character "D" (for left) of "C" (for…
Alex B
  • 4,458
  • 5
  • 38
  • 41
31
votes
7 answers

exit out of all SSH connections in one command and close PuTTY

Is there a way to back out of all SSH connections and close PuTTY in "one shot"? I work in Windows 7 and use PuTTY to SSH to various Linux hosts. An example of the way I find myself working: SSH to host1 with PuTTY... banjer@host1:~> #...doin some…
Banjer
  • 2,870
  • 6
  • 27
  • 35
24
votes
4 answers

Is there any limit on line length when pasting to a terminal in Linux?

I am trying to send messages from kafka-console-producer.sh, which is #!/bin/bash if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then export KAFKA_HEAP_OPTS="-Xmx512M" fi exec $(dirname $0)/kafka-run-class.sh kafka.tools.ConsoleProducer "$@" I am pasting…
Dims
  • 3,181
  • 9
  • 49
  • 107
24
votes
3 answers

how to keep a python script running when I close putty

I'm about to run an python script on Ubuntu on VPS. It's is machine learning training process so take huge time to train. How can I close putty without stopping that process.
chickensoup
  • 343
  • 1
  • 2
  • 6
1
2 3
21 22