An open source telnet and SSH Client for the Windows and Unix platforms.

learn more… | top users | synonyms

30
votes
2answers
20k views

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 configs do SCP need to allow * in the path? UPDATE: the problem is not on server side, pscp is ...
25
votes
4answers
7k views

Can mouse wheel scrolling work in a /usr/bin/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 ...
15
votes
3answers
5k views

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 ...
13
votes
2answers
9k views

What difference between openssh key and putty key?

I've found ssh-keygen ("ssh" package) comand produce another keys that puttygen command ("putty" package). If I create public and private keys with ssh-keygen some ssh-servers can not accept my keys. ...
11
votes
2answers
4k views

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 ...
7
votes
6answers
24k views

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 ...
7
votes
3answers
22k views

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

Each time putty is breaking session after some time if I am doing nothing. There is no any time parameter on putty so how can I stay my putty ssh session always Alive ?
7
votes
2answers
3k views

Byobu with tmux, how to use F-Keys

I'm accessing a linux box with Byobu enabled (with tmux) and I don't seem to be able to use some F-Keys without being binded to Byobu. For example using F6 to sort on htop. I followed this advice, but ...
7
votes
1answer
2k views

Nested ssh session inside screen has no color

I am attempting to keep a nested ssh session inside of a byobu/screen window, which I also connect to over SSH with Putty on Windows. However the nested SSH session has no color. Here's what I'm ...
5
votes
2answers
3k views

What causes a ssh interruption?

What exactly causes a ssh connection to interrupt? When you idle for a while, it disconnects. How do I keep the connection alive (without autossh or reconnect)?
5
votes
1answer
1k views

vim auto indenting even after setting noai option

I am using vim 7.2 from putty terminal. Even if I run set noai it seems vim still trying to indent code. I am copying my code from Notepad++ to vim. following is from Notepad++ and following what I ...
5
votes
2answers
656 views

How do I configure ssh tunneling past a firewall?

I have a NAS running Linux behind a firewall at home. I want to access it remotely using a few services such as a Transmission GUI (port 9091) and webmin (port 10000), but through an SSH tunnel on ...
5
votes
1answer
3k views

Byobu/screen constantly freezes in Putty

For a while now I've been using Byobu to manage screen sessions for me. However I've run into a strange issue: The session keeps locking. By locking I mean that I can't type anything, and only if I ...
5
votes
1answer
618 views

Why is vimdiff so slow?

Whenever I'm in vimdiff mode, my PuTTY session slows down considerably. This is especially noticeable when I try to scroll down many lines by keeping j pressed. Why is it so slow in comparison to ...
5
votes
4answers
4k views

Linux User not able to login

I am trying to create new users using useradd command using root credentials it is getting created properly but when I log in with the newly created user with its credentials using a PuTTY Console, I ...
5
votes
2answers
448 views

Unable to login via ssh after several months [closed]

I have a Dell Poweredge running Ubuntu 13.04 in my office to serve up an interal web-app address system. It has been at least a 2 months possibly 3 since my last login. Everything is running great, ...
4
votes
1answer
2k views

How can I change locale/encoding to avoid getting weird characters in terminal?

I have installed tree on my ubuntu box, when i connect to it from Putty and I launch tree i get this : $ tree âââ html.vim -> xml.vim âââ js.vim -> xml.vim âââ xml.vim instead of this : $ ...
4
votes
1answer
2k views

Can I use an SSH key generated on Linux from Putty?

I have been asked to generate a pair of SSH keys so that I can access a remote server for development. To generate the keys, I used the ssh-keygen tool on our CentOS box, which I successfully did. ...
4
votes
2answers
4k views

Is there any way to improve Putty on slow connections?

I'm working with putty but have a slow connection to the server. It's not slow everywhere and I don't need to get it faster. There is latency between when I type and when the text is displayed in the ...
4
votes
1answer
8k views

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?
4
votes
2answers
5k views

How can I make PuTTY compatible with Solaris?

I'm connecting to a Solaris machine from WinXP using PuTTY. When I try to use the NumPad keys for editing a command in Bash (Home, End, Delete) a ~ character is instead printed to the console. ...
3
votes
2answers
13k views

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 ...
3
votes
2answers
2k views

Linux SSH logging via PUTTY

I have Linux console, managed from Windows. Can login to Linux console from MSTSC service of Windows, as xrdp is installed on Linux. However I cannot login via Putty with SSH connection. It's ...
3
votes
1answer
8k views

Search text in command output on a PuTTY terminal

I would like to know how to search particular text on the terminal. If I do cat of log files, I would like to find certain words like job or summary so that I don't have to read through the entire log ...
3
votes
3answers
1k views

How to open a PDF file using PuTTY as a terminal?

I connected to a Linux system using the putty SSH client on my Windows PC. Now it's unable to open a PDF document in putty. The error message: gnome-open .pdf (gnome-open:4137): GConf-WARNING **: ...
3
votes
1answer
134 views

Since I execute 'stty erase ~' I can't type / anymore in Putty

Yesterday I was fed up with being forced to type Caps+Backspace to erase character in Putty, because a Backspace was printing a ~. I found some info on internet saying you should type stty erase ~, or ...
3
votes
1answer
636 views

Remote SSH Tunnel not working with certificates

I need reverse port forwarding via SSH to my server, such that on the server I can connect to a localhost port, which then is forwarded using the SSH tunnel to my local server. My local system is ...
3
votes
3answers
3k views

SSH: I have a *.pem private key. How to create a SSH connection using it?

I tried to use putty also. I select this pem key there and got this: Unable to use key file "key.pem" (not a private key). I read that it is possible to convert a pem to a pub key. I did it like ...
2
votes
4answers
10k views

X11 forwarding not working from putty and XMing to centos 6.4

I have centos 6.4 running on VirtualBox. I can connect to it via putty just fine. However X11 forwarding is not working. I Have Xming 6.9.0.31 running and putty 0.62 is setup for X11 forwarding: ...
2
votes
3answers
479 views

What is the problem with the output of plink?

On my Windows7 machine, I'm traversing to the installed path of PuTTy Application and running: plink <hostname> to connect to my remote Linux host. I see some unrecognized characters in the ...
2
votes
1answer
159 views

How can I change login while authenticating on SSH?

It's hard for me to express exactly what I mean, so I'll explain it in a few steps: I'm connecting with SSH, and server ask me for login. I write login, and then it asks me for password. I realize ...
2
votes
3answers
174 views

How do I make pasted shell commands invisible?

I'm using an AutoHotkey macro to run some shell commands, i.e. ^`:: SendInput set c=".cshrc-acheong"{ENTER} SendInput set v=".vimrc-acheong"{ENTER} SendInput foreach d ( /home/acheong /home/tcama ...
2
votes
2answers
305 views

Unzip to location

I am using unzip through putty and it works ok. However, using the same command through a .NET C# SSH library (Renci.SshNet) gives different results. SshClient s = new SshClient("ssh_host", ...
2
votes
2answers
2k views

Nano editor - display not updating with PuTTY

When I use PuTTY to connect to a specific Linux server via the SSH protocol, and I try to edit a file using the nano editor, the "enter" does not update the display. When I press enter to insert ...
2
votes
3answers
8k views

How do you display xterm colors with putty/bash?

Putty has this "allow terminal use xterm 256 colour mode" that I'd like to use, but I don't know how. I've been using a color.sh script to output echo statements and commands with colors, and I want ...
2
votes
2answers
616 views

'less' width issues

I'm connecting to my Linux boxes (primarily Debian Squeeze) using Putty for Windows. Whenever I run a 'less' command, e.g. on an aptitude search, less truncates the listing to much less than my ...
2
votes
1answer
50 views

Commandline program affecting subsequent shell output with underlines?

I'm SSHing via Windows PuTTY to my server running Ubuntu Server 12.04. As you can see in the top of the screenshot, the terminal looks normal but when I run Behat (a PHP test automation framework), ...
2
votes
2answers
632 views

Open programs without locking terminal through Putty

There's a bunch of proprietary software installed on our university linux computers, which is accessible through remote control via Putty. When I'm using my own Linux box, if I want to retain control ...
2
votes
1answer
1k views

Where does plink (from Putty package) search for remote commands?

I need to use plink (or something similar if you have something on mind) to get the output from Debian remote machine onto my Windows box. This works e.g. in this case : plink 192.168.1.5 "ls" > ...
2
votes
3answers
63 views

Multiple tabs in PuTTY

I connect to RHEL 7 via Putty. I want to have multitab functionality inside. But when I press "Ctrl-Shift-T" nothing happen. How can I have multitab functionality?
2
votes
2answers
119 views

Remove BS and ESC from Log files

Whenever I use the script command to record the keys I type or when I activate the logging mode in screen, all BS (Backspace) and ESC (Escape) key presses are also included in the file. e.g: cd ...
2
votes
2answers
11k views

PuTTY can access serial port as /dev/ttyUSB0, but not as named udev device

I have multiple USB-to-serial converters. I need to access one of them in particular. I'm using a udev rule to give it a special name. I have rebooted since I last modified it. SUBSYSTEM=="usb", ...
2
votes
1answer
1k views

Using Putty/plink to scp to a named pipe

I have a large tar.gz file that I need to transfer from Windows to a UNIX machine and unzip into a folder that my login user doesn't have write permissions on. Once the file is on the machine I can ...
2
votes
1answer
101 views

How to disallow GNU screen from making change to my putty window title

Currently whenever I open a screen session from within PuTTY, the window title of the PuTTY window changes to "screen". I would like to prevent this from happening. Please let me know what is the ...
2
votes
2answers
1k views

Del key in AIX ksh over PuTTY telnet

At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
2
votes
2answers
10k views

Xming does not show an xclock window

I am new to Xming. I have installed and have connected to a server using Putty. But when I type "xclock" for testing there is no output. It just remains like that.
2
votes
0answers
329 views

How to enable Control key combinations for GNU screen on putty?

I am accessing a linux box via ssh using putty. Key combinations work fine when I'm not running screen. However, Ctrl key combinations do not work under a screen session. In fact, a Ctrl-any key is ...
2
votes
1answer
45 views

Non-standard logins

As part of a sort of esoteric "hack" I'm putting together, I've modified my /etc/passwd and /etc/shadow files to result in a user called ニエット ("Niet") with a shell pointing to a custom script I have ...
2
votes
0answers
549 views

Get screenshots of a Linux machine that I connect to remotely with PuTTY

My setup is this, I connected my Cent box via PuTTY on windows 7, I've Xming and using X11forwarding to have GNOME in windows. Now when I did gnome-screenshot in putty, I cannot have the CentOS ...
1
vote
2answers
425 views

Mapping intr to del key

I am in the process of migrating a legacy 4GL application from SCO OpenServer 5.0.7 to CentOS (Red Hat) Linux 5.9. There are a number of screens that prompt the user to press "DEL to ABORT" but is ...