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!
325
questions
2
votes
1
answer
2k
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 ...
2
votes
1
answer
2k
views
Can't ssh to my local VM (timeout)
I'm using an old redhat virtual machine with VMware Player.
I used to be able to connect it using PuTTY, but for some reason now I can't.
Here's what I do:
I use ifconfig to get the IP address
I ping ...
6
votes
2
answers
5k
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 ...
1
vote
1
answer
3k
views
Ubuntu on Windows Powershell "Can't open display"
I'm running Ubuntu 18.04 on Windows Powershell on Windows 10. I installed XMing and PuTTY and configured them so that X11 forwarding is turned on. After all this, and installing x11-apps and running ...
1
vote
1
answer
3k
views
Copy paste from unix file to notepad
How can I copy content of large unix file (putty tool) to notepad?
34
votes
6
answers
27k
views
How to fix Ctrl + arrows in Vim?
I am using Putty, Suse box and Vim 7.2 combo for editing and I want to remap Ctrl + Arrow keypresses to a particular task. But for some reason, Vim ignores the shortcut, goes into insert mode, and ...
0
votes
1
answer
215
views
How Can I Upgrade Apache to the latest version in RedHat Enterprise Linux When Connected Via Putty
I'm currently administering an Apache applications proxy on a RedHat server, The installed/running version of Apache is 2.4.6. I want to upgrade to the latest version securely. The httpd daemon is ...
1
vote
1
answer
14k
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:...
0
votes
1
answer
138
views
Error after changing ssh port number, Server refused public-key signature despite accepting key
I added the SSH new port number to the sshd_config file:
Port 50000
After that, I restarted the service with
systemctl restart sshd
When I try to connect with the port number I added, I need to ...
0
votes
1
answer
4k
views
PuTTY logging file date time
I use Putty on my job and capture the output with the logging option. What I need to do is have a date and time appended to each line. Is there any way to capture the live PuTTY output and append the ...
0
votes
0
answers
16
views
Sending an email on squirrelmail
I created two users from ubuntu and tried to send mail on my squirrelmail.
However, for some reason when I logged into one of my accounts and tried to send an email on squirrelmail the other user that ...
6
votes
2
answers
2k
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 ...
2
votes
1
answer
209
views
Pass ssh remote command from bash to zsh
I am running a remote putty session from windows to my Red Hat Enterprise Linux server.
Due to company restrictions, I am unable to change my Linux user's default shell from bash to zsh. I instead ...
45
votes
4
answers
76k
views
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 ...
242
votes
5
answers
267k
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
0
answers
142
views
key type ecdsa-sha2-nistp521 not in PubkeyAcceptedAlgorithms [preauth]
I have trouble setting passwordless authentication on a host:
Sep 21 09:57:36 pvestorage2 sshd[1688625]: userauth_pubkey: key type ecdsa-sha2-nistp521 not in PubkeyAcceptedAlgorithms [preauth]
OS: ...
7
votes
3
answers
12k
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 ...
0
votes
0
answers
55
views
CentOS 9 Stream SSH with PuTTy - multiline commands
I've been using CentOS versions 6, 7 and 8 for a long time. Finally, I started using CentOS 9 Stream version. It doesn't matter whether GNOME desktop version or server version (black screen), I ...
5
votes
5
answers
781
views
Retaining full manual for scrolling in SSH (Putty) terminal
Beginners question:
I am reading a man page called in a ssh (putty) session, i.e:
man usermod
Now this man page has about 252 line, when reaching the end, I press q for quit.
It would be very helpful ...
26
votes
4
answers
30k
views
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 $(...
11
votes
7
answers
44k
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 ...
14
votes
3
answers
33k
views
What's the difference between PuTTY and SSH?
Also, what is the difference between pscp, psftp and scp, sftp?
I'm guessing PuTTY is originally made for Windows which doesn't have these commands by default, am I right?
If that's the case, why ...
0
votes
0
answers
30
views
How to make Ubuntu 22 accept old Putty connections? [duplicate]
I have upgraded from 20 to 22 and now unable to login to it with putty, saying
Couldn't agree a host key algorithm...
I would like to make server backwards compatible, not to upgrade putty. How to ...
1
vote
1
answer
193
views
Putty auto-accept "Connect Once"?
When I first run Putty, a window with the button Connect once appears, which means that it does not save cache data.
How can I make it run by default without having to click Connect once every time?
I ...
0
votes
1
answer
525
views
Error when login in putty "refusing non sftp session"
When I log with Putty, Putty close after entering the password. When reading the /var/log/auth.log, it says "refusing non-sftp session".
I added a line in /etc/sudoers to have access in ...
586
votes
7
answers
529k
views
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 ...
-1
votes
1
answer
244
views
How can I forward port 8080 from my linux machine to be visible on port 2007 of my internal network using ssh?
I have a linux server hosting an applcation on port 8080
Inside putty, i have create a port forward from port 2007 to 8080 by specifying the public IP of my server, where's covered in red below
How ...
0
votes
3
answers
4k
views
Copy from vim (putty-session) to Windows clipboard
I can copy from my Putty-Console to my Windows-Clipboard except from vim.
So with the standard method I can copy/past from he console, from more, nano and others but impossible to do the same from ...
1
vote
0
answers
79
views
Why does my tmux theme not match the one I'm trying to install?
I am trying to install this theme for tmux.
After all the steps specified in the instructions, I get this.
The color of the invitation is completely different, as well as all the "strokes" ...
0
votes
0
answers
202
views
Unable to connect to VM Linux through Putty on my Windows desktop
Introduction
Hello, I'm extreme beginner here. I am trying to connect my Putty with VM linux. This is how I started:
Install Ubuntu 18 with OpenSSH.
Enable NAT and Bridge network (my Wifi driver) ...
1
vote
1
answer
418
views
SHIFT+F2 does not create a horizontal split in byobu in tmux mode (using Putty SSH client)
SHIFT+F2 does not create a horizontal split in byobu in tmux mode (using Putty client from Windows 7).
SHIFT+F2 just gives me '~' in the terminal.
Byobu installed on Debian 8.11.
Using byobu version:
...
0
votes
2
answers
556
views
Graphical SSH tool like superputty for centos7 XFCE
Could you please suggest some graphical tools like super-putty or "gnome connection manager" for Centos7 please. Thanks.
edit : I want tabbed user interface and gui tool which will store username, ...
0
votes
1
answer
123
views
Can't connect to any EC2 Linux instance
I'm facing a very simple issue here; I'm not able to connect to my Linux (bitnami-redmine-5.0.3-4-r06-linux-debian-11-x86_64) Virtual Machine.
I've created another sister VM to check, and can't ...
2
votes
1
answer
230
views
Transfer files from a second remote (Ubuntu) to my local (Windoes 10)
I use ssh in a PuTTY terminal in my laptop (Windows 10) to connect to the campus Ubuntu server and then use ssh once more to connect to my office computer (Ubuntu).
I use the PuTTY terminal on my ...
1
vote
0
answers
158
views
tar.unpack untar error while installing angular in Linux vm
I am installing Angular in Linux VM (3.10.0.1062) using command npm install @angular/[email protected] from Putty terminal, getting below error
[host@machinename /]$ npm install @angular/[email protected]
npm WARN ...
8
votes
4
answers
6k
views
Pasting some text with tabs into a here-document in a PuTTY window
I have a string with tab delimited data that looks like:
h1 h2
a1 b1
a2 b2
I produced it with Notepad on Windows. I created tab delimited data, ensuring that tabs and not spaces are used.
I ...
0
votes
0
answers
1k
views
PUTTY X11 Forwarding does not work: no DISPLAY variable set
I want to get a GUI to an ubuntu server. Locally, I installed XMING & PUTTY and enabled the X11 forwarding. I also tried to specifically set the display location to localhost:0, because I read ...
0
votes
1
answer
212
views
how to check for specific string in a file named abc.txt and write that missing string to another file (xyz.txt) using a shell script?
For example, generally I need to check for 5 strings. (Note : the strings are in file format .txt)
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
but there are 3 strings in abc.txt
file1.txt
...
0
votes
1
answer
182
views
X11 forwarding not working for same id, signed by different people
2 users both sign onto the linux box with the same id. X11 forwarding works for one and not the other We tried both putty and mobaxterm. We think we verified all the options between the 2 users. ...
0
votes
2
answers
390
views
Can't connect Putty to VirutalBox VM
This is an issue I encounter while following the instructions laid out in Asghar Ghori's RHSCA training book for RHEL 8. I am to setup a RHEL virtual machine with VirtualBox and connect Putty to it, ...
0
votes
0
answers
75
views
filewatcher script in ksh script
I wanted to edit a already created filewatcher script with the given logic
the source file path is stage path (stage/filewatcherwrap.ksh)
there are 4 files in the below given format in stage path
...
0
votes
1
answer
2k
views
putty - ctrl + d doesn't work (ctrl + shift + d does) [closed]
I'm connected to a Linux server over ssh using putty.
Usually in Linux you can delete characters you typed in the command prompt with Ctrl + d. But on Windows with putty this does not work.
The ...
70
votes
6
answers
133k
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 ...
12
votes
4
answers
41k
views
PuTTY, CygwinX, and X11 forwarding connection refused
I am no longer able to forward X11 using KiTTY/PuTTY to CygwinX.
I am connecting to an Ubuntu Server 14.10 machine that is correctly configured to allow X11 forwarding. I am able to initiate X11 ...
1
vote
0
answers
442
views
Access Apache NiFi running on remote VM via browser and PuTTY
I'm trying to access a Virtual Machine running in Google Cloud which has a Apache NiFi service running on port 8080 on the VM. I have managed to create an ssh key and upload the public SSH key to the ...
0
votes
2
answers
2k
views
How do I communicate with OpenSSH on Linux from Putty on Windows?
The process of getting Putty communicating with OpenSSH has thwarted me for quite some time.
I installed OpenSSH with:
sudo apt-get install openssh
Then I generated ssh keys with:
ssh-keygen -t ...
0
votes
0
answers
313
views
Scrolling up in putty shows no history. Only by resizing the window can i see output history. How can I fix this?
Attempting to scroll back through the output history of putty only shows the initial login prompt directly above the oldest output currently on the putty screen. However, when I resize the window it ...
32
votes
7
answers
206k
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 ...
11
votes
5
answers
74k
views
How to copy all the text of a nano editor file to windows clipboard?
I am connected from windows to linux using Putty. I have a file result.csv I want to copy all the text from this file to windows clipboard and then paste the text to a notepad? Please help me.
3
votes
1
answer
325
views
How to check which "/dev/pty/x" file my putty session is using?
I opened quite a few putty sessions to my remote Ubuntu machine.
For each of the session, I got a /dev/pts/x file assigned to it. Like below:
crw--w---- 1 xxx tty 136, 0 Feb 5 23:08 0
crw--w---- 1 ...