Questions tagged [putty]

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

Filter by
Sorted by
Tagged with
5
votes
2answers
3k views

How can I enable trusted X11 forwarding on Putty (with Xming) or otherwise get rid of one second delay when starting X11 aplication?

I've noticed one second delay before Midnight Commander or mcedit starts in Putty. It took me a while before I realized it is caused by X11 forwarding enabled. mc -X start immediately. Unfortunately ...
2
votes
2answers
7k views

ssh_exchange_identification: read: Connection reset debugging help

I am trying to use the ssh on my windows 10 machine to connect to my GoDaddy Cpanel server. My regular options of FileZilla, mobaxterm and putty are all broke. The only debugging method I have found ...
0
votes
1answer
920 views

Unable to Connect to VNC Server Using SSH Tunnel

I have a Linux server running xtightvnc on Ubuntu 18.04. Using my laptop, I am able to establish an SSH tunnel connection using PuTTY on Windows and establish a connection to vnc through localhost:...
4
votes
3answers
39k 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 ...
49
votes
3answers
184k 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 ...
0
votes
1answer
25 views

Switch tabs in Debian installer over serial console with PuTTy

I'm currently trying to install Debian on a system with no video output. All I have is serial console. I know how to get it started and all, and even made it install automatically with a preseeded ...
1
vote
1answer
1k views

RHEL7 “Too many authentication failures for”, MaxAuthTries has no effect

I'm using Kitty (putty clone) and Keepass agent (similar to pagent). Keepass agent contains 5 ssh keys. This setup works fine with all linux boxes I've encountered so far, connection to our new ...
0
votes
0answers
15 views

Remotely access GUI apps on Windows without closing them

I'm building a small Ubuntu server which I will mostly use terminal and Web interface apps, but there are a few GUI apps like qBittorrent (its GUI has more features than its WebUI) that I'd like to ...
0
votes
0answers
25 views

Is there a way to launch the GUI application frome command line without Window Desktop application(like GNOME)?

I read the on-line document: link I am using Fedora30. Is it also possible to launch a gui app. on text mode(init 3 state) as on Ubuntu? I make ~/.xinitrc and put in xterm & then after command ...
0
votes
2answers
552 views

X11 forwarding does not work if su to another user

I have a Red Hat 7.3 server running XVnc. On a Windows 10 desktop I have Putty and Xming installed. Putty is configured for X11 forwarding. When I SSH in as my standard/non-privileged user and ...
1
vote
0answers
34 views

putty: CTRL-D not working and CTRL-R became CTRL-SHIFT-R

I use windows to connect to my linux servers and since some time CTRL-D (to exit a session) doesn't work anymore and CTRL-R (search a previous typed command) got re mapped to CTRL-SHIFT-R This is ...
1
vote
1answer
37 views

I installed an Apache Web Server w/ firewall on my server & now I can't ssh to the server, I get: debug1: key_load_public: No such file or directory

I got some server space and installed an apache web server w/ firewall using this tutorial but now when I try to ssh to the server I get this error OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 ...
2
votes
1answer
907 views

How can I launch PuTTy in fullscreen from command line

I'm using Puppy Linux and am trying to launch PuTTy in fullscreen from the command line. Are there any parameters for this? I am currenly doing putty - load mysession I am unable to choose a ...
1
vote
1answer
2k views

Connect to VM through SSH (Google Colab and PuTTY)

I want to connect to a Google Colab computer via SSH because it has really shit text editing abilities, and it likes to hide the characters I type in the interactive shell. This is code I have on a ...
1
vote
2answers
2k views

Getting PuTTY to work properly with FreeBSD

I'm using FreeBSD 11 with PuTTY for SSH. The keyboard's key codes don't seem to be set up at all correctly - for example it beeps on up arrow and inserts '~' for most navigation keys including basics ...
10
votes
5answers
23k views

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 ...
1
vote
1answer
141 views

sudo authentication when using SSH key auth with Keepass+Putty

I an using Putty to login via SSH to various Linux machines (mostly CentOS and Ubuntu). I use SSH key authentication, whereas the key ist stored in Keepass 2.x and handed over to Putty via tha ...
144
votes
3answers
124k 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 configuration does SCP need in order to allow * in the path? UPDATE: the problem is not on server ...
0
votes
4answers
8k views

Server refused public-key signature despite accepting key - putty

I used puttygen to generate both my public and private key files (ssh2, 2048 bit). I have set up the settings in putty correctly and it is using the correct private key file. As for the public key, (I ...
-1
votes
1answer
11 views

Linux - After reboot, I get a Keyboard Interactive Authentication error. All Network traffic closed it seems

I'm running Centos connecting with Putty. Starting today, every time I reboot, It forces me to log in as root before it will let me log in with my su. I log into Root, then run su username and then ...
1
vote
2answers
2k views

How to configure ssh-agent-forwarding?

Im struggling with setting up ssh-agent-forwarding. What I want to do: I want to have my public key on a ubuntu-server, the private key locally on my windows machine. I want to connect to the ubuntu-...
0
votes
0answers
52 views

PuTTY (or other terminal) with output buffering for slow connection

I'm looking for terminal that can buffer output (keystrokes) before sending them. I need this, because I have some devices on very slow and not reliable connections (ping 400-600ms, 20% packet loss) ...
2
votes
2answers
1k 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 ...
0
votes
0answers
137 views

get back sudo with Putty: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

apparently I messed up too much with my permissions and now I'm getting this while trying to use 'screen' again: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set If I try: chown root:...
2
votes
4answers
10k views

telnet :pressed Enter key, there were two carriage returns in the text

When using Putty to connect to the router using telnet protocols, and then I pressed Enter key, there were two carriage returns in the text, how do I get rid of one of them?
4
votes
2answers
464 views

Determine the application client is using to connect

Is there any way in Linux/Unix to determine the client application user is using to connect to OS. In our environment thousand of users connect to our system via client applications like WinSCP, ...
2
votes
2answers
1k views

Run software on a Linux machine from Windows: GUI solution

I have a Windows 10 x64 machine and I have recently been given an account on a more poweful Linux machine. I'm hoping to run MATLAB files created on the Windows machine on this Linux machine which, I'...
1
vote
2answers
31k views

PuTTY (SSH) (tracert) Network error: Software caused connection abort

EDITED: SOLUTION FOUND: After contacting godaddy, a solution was found very fast (great service!). What seemed to be the problem was that my IP Address was being blocked, given that I had too many ...
-1
votes
1answer
876 views

PuTTY and PowerTerm scripting Problem, Open a just in time URL via Samba share

I'm sshing into a fedora server using Powerterm (an expensive overly priced, license based, terminal emulator). The server uses an ancient form of (what I'm told is similar to) cobalt. I have no ...
2
votes
3answers
4k 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 ~/foo/...
0
votes
0answers
153 views

No supported authentication methods available - connecting to FreeBSD using PuTTY

I have created an EC2 instance that runs FreeBSD, and I can log into it using my SSH key and the default user ec2-user. I logged into it, and switched to root using su. I then created a personal ...
0
votes
0answers
103 views

SSH through Bastion honouring ControlPersist on Bastion

I have the following setup, where I am trying to connect from "Host A" through "Bastion" to "Host B". Simple you might think and something which has been done hundreds of times before, but I am trying ...
1
vote
1answer
86 views

exit terminal window

I often ssh to linux using putty. Sometimes directly ssh, sometimes invoke putty inside winscp by "open session in putty". In some cases when I have two putty terminals connected, and type "exit" to ...
0
votes
1answer
22k views

How to automate putty commands when connection is through ssh? [closed]

Two files are there. I want to run cmds.txt cmd in ssh port connectivity . how to run txt file with putty. if suppose this is a sv.bat (batch file) Inside batch file there is a txt file with cmds. ...
1
vote
1answer
77 views

How to have Emacs daemon persist on remote

My current work workflow includes using PuTTY to SSH into a Linux development box with many users. I use an Emacs daemon to avoid the long startup times when closing my Emacs sessions. However, the ...
0
votes
0answers
71 views

How do I save the putty screen with python?

i write sth on putty screen with python. But i can not save this screen. i have opened putty (logging >> log file name). Then i start the python. after python finnish. then i can open this putty ...
142
votes
6answers
406k views

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 ...
0
votes
1answer
287 views

Troubles with putty to connect to VM CentOS 7 (Vagrant / Virtualbox)

I've created a VM CentOS7 using Vagrant (2.2.3) and Virtual Box (5.2.24), on Windows 10 in this way (following these instructions ... https://blog.centos.org/2019/02/updated-centos-vagrant-images-...
2
votes
1answer
245 views

Is there any fully Byobu-compatible terminal client for Windows?

I'm trying to use Byobu on a Linux server via SSH from Windows. I've tried with MobaXterm and putty, but some of the F key combinations simply don't work. In MobaXterm there is even a dedicated Byobu ...
0
votes
0answers
17 views

I am using Ubuntu and trying to minimize putty window from a bash script, are there any parameters or escape sequences?

For instance in order to maximize putty from command line someone stated (in this thread) that the escape sequence is '\e[9;1t' I wondering is there any sequence to minimize putty window? where can ...
6
votes
6answers
58k 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 ...
9
votes
2answers
3k 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 ...
0
votes
2answers
73 views

SSH using Putty is closing connection in 20 seconds even while I'm executing commands

I have launched an EC2 instance running ubuntu 16.4 and able to connect using Pytty SSH with Key pair. The issues is even when I'm executing some commands - that is actively working, the session ...
1
vote
2answers
97 views

Why do num key slash, asterisk, minus, and plus not work in > tmux 2.1?

On some of my newer Ubuntus, the number keypad /, *, -, and + keys don't work. If I quit tmux and just use a regular ol' Putty SSH session, they do. Ubuntu 14 tmux 1.8 works Ubuntu 16 tmux 2.1 works ...
2
votes
2answers
4k views

Confused about command: sed '/^#/d' ~/.profile

I need to know what this command does. sed '/^#/d' ~/.profile The output that this command gives me is this: if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/....
0
votes
0answers
46 views

Putty Telnetsession does not update whole “popup window scroll list”

I have the following issue: I'm using Putty to operate an application on a Unix system. After some tweaking, I get the response as it should, colors, borders of pop-up screens. One thing does not ...
6
votes
2answers
88k 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 ...
9
votes
4answers
14k views

How can I change the color of this blue text on my command line?

I know this question has been asked multiple times but I didn't find the answer on those other questions. Here an Image to illustrate my point: Can you read the blue line without squinting? No? Me ...
1
vote
2answers
7k views

MobaXterm: How to see previous commands' terminal output while still being in VIM? (Equivalent of 'Shift + Page Up' in PuTTY)

What I want (which is possible in PuTTY): 1) Login to a machine (using PuTTY) 2) $ cat /some/file [contents of the /some/file shown on screen] 3) $ vim 4) Press Shift + Page Up Result: I can see ...
0
votes
0answers
47 views

Viewing history of echo'd text on terminal

I detached gits head using git checkout 4037ec1702bd2fa6a5a15f7413f4ccccb59d356e . and lost all my work. I still have the terminal open. Not that long ago, I did a git diff, so my changes were all ...