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!

Filter by
Sorted by
Tagged with
0 votes
1 answer
93 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 ...
hacrks's user avatar
  • 3
0 votes
1 answer
103 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 ...
Tim's user avatar
  • 11
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 ...
1 1's user avatar
  • 1
2 votes
1 answer
175 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 ...
Adam Griffiths's user avatar
0 votes
0 answers
96 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: ...
Vatharian's user avatar
0 votes
0 answers
52 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 ...
aycanuAydemir's user avatar
5 votes
5 answers
753 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 ...
MMAX's user avatar
  • 205
0 votes
1 answer
3k 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 ...
RtR's user avatar
  • 1
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 ...
Dims's user avatar
  • 3,255
1 vote
1 answer
159 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 ...
webstackoverload's user avatar
0 votes
1 answer
447 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 ...
Bradford1138's user avatar
-1 votes
1 answer
240 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 ...
melki0795's user avatar
1 vote
0 answers
76 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" ...
Santa Monica's user avatar
0 votes
0 answers
161 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) ...
Azhan_Ahmed's user avatar
0 votes
1 answer
122 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 ...
mr. anderson's user avatar
2 votes
1 answer
224 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 ...
EhsanYaghoubi's user avatar
42 votes
4 answers
70k 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 ...
Aditya K's user avatar
  • 2,040
0 votes
0 answers
941 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 ...
spadel's user avatar
  • 101
0 votes
1 answer
211 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 ...
Jayashree's user avatar
0 votes
1 answer
172 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. ...
Laura's user avatar
  • 1
0 votes
2 answers
371 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, ...
Jack J's user avatar
  • 103
0 votes
0 answers
73 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 ...
Jayashree's user avatar
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 ...
theerrormagnet's user avatar
1 vote
0 answers
416 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 ...
Radu Gheorghiu's user avatar
0 votes
0 answers
293 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 ...
F5--'s user avatar
  • 1
3 votes
1 answer
314 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 ...
smwikipedia's user avatar
  • 1,203
2 votes
1 answer
703 views

Copy text in tmux using putty

I am using putty0.76 to connect to server and I run tmux2.7. I need to copy bigger amount of text to my local clipboard with scrolling during selection. I do not have xclip or pbcopy installed and I ...
Krzysztof Stasiak's user avatar
1 vote
1 answer
492 views

strange 5-characters-sequence appear in PuTTY terminal with mouse click

While running some program (Configure), my terminal will be messed up. My typing is not shown. I can use "stty sane" to fix it but I notice that whenever I click my mouse on the terminal (I ...
some user's user avatar
  • 239
0 votes
1 answer
109 views

Load/Connect automatically to the Linux server session using Mputty

Looking for a help on Loading the putty sessions through Mputty. I can login to my app servers(Linux) only through Jumphost. After login to jumphost i need to perform the ssh to connect my App servers....
Amala's user avatar
  • 1
0 votes
2 answers
1k views

How to transfer a file from local machine to remote server with desired permissions using putty

I am trying to transfer a large file to a remote server using putty.During transferring the file (since the file is large it takes some time to transfer ) the permissions for are set to some default ...
Syed Iftekharuddin's user avatar
0 votes
1 answer
68 views

Rename odbc.ini file

Can you please let me know how can I replace the name from odbc.ini (old name) to .odbc.ini (new name) in putty using Linux commands?
user avatar
0 votes
1 answer
105 views

Can I use putty to create a tunnel through which the packages will be updated?

the task is as follows: There are several servers on centos without internet access. There is a Windows PC with Internet access and to all servers with CentOS. CentOS servers do not have access to a ...
Omnividente's user avatar
0 votes
0 answers
1k views

How to remove PuTTY X11 proxy: unable to connect to forwarded X server error (don't what to use X11 forwarding)

Hi whenever I ssh into my Linux machine via Putty, and edit text files via emacs, I get the following warning/error. ''' PuTTY X11 proxy: unable to connect to forwarded X server: Network error: ...
Jonathan Ng's user avatar
1 vote
1 answer
11k views

how to move all files and folders to another folder using mv command

how can I move files and folders from a folder to another directory? I am using mv and my files is in a subfolder. do I have to use ../ to specify the path? I use cd / to go to the root. my folder is ...
eggplants's user avatar
0 votes
2 answers
1k views

zip then transfer files from one server to another using scp or rsync

I have estimated 44 GB of data from my web server. I want to transfer it to another server with less time. I am using Putty to transfer file. is there any way to achieve this? I don't know which ...
Peter Eris's user avatar
3 votes
1 answer
930 views

Leave tmux text in terminal after exiting tmux. Possible?

I use Putty to connect to Linux (RHEL8). I start tmux (version 2.7) and do some work. Once done, I exit tmux. But the screen text in the tmux session is no longer in the Putty terminal. Is it possible ...
yong321's user avatar
  • 151
0 votes
1 answer
1k views

Scrollback to previous screens in session of screen in Putty

I use Putty to connect to my VPS and run screen -r to restore the Screen session. Then I run a command in the Screen session. The command outputs a lot of content. When I scroll back to try to see the ...
William's user avatar
  • 115
26 votes
4 answers
29k 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 $(...
Dims's user avatar
  • 3,255
2 votes
1 answer
1k views

How to keep hostname on title when I run commands

I'm trying zsh on Ubuntu 20.04 from Putty. One good feature I like is that zsh automatically show the running command on window title, which is good for forgetful me who forget what is running. ...
Gqqnbig's user avatar
  • 239
0 votes
0 answers
260 views

Linux is slow in authenticating password

I started using PuTTY public and private key pairs recently to login my local virtual machine using ssh. Initially, it worked quite fast. From asking username to starting a shell/command, it took less ...
Idonknow's user avatar
  • 173
1 vote
0 answers
465 views

Can't get Ctrl+A to register in PuTTY?

I'm trying to use Screen on a remote server. Everyone else can use Ctrl+A so I know it's set up correctly in the .screenrc, but for some reason I think my PuTTY client is setup wrong. Under terminal &...
tssguy123's user avatar
1 vote
3 answers
327 views

What "bad" things may happen (and why) if a Terminal Emulator and the Shell running in it are using different TERM types?

For example, in PuTTY's configuration I set terminal type to xterm-256color but after SSH login I change it with export TERM=linux in the shell. I know it works quite well for most time. Just want to ...
UNIX.root's user avatar
  • 184
1 vote
1 answer
185 views

How to refresh application deployed in Linux machine

I have deployed angular application in Sandbox Linux machine. When replacing data in assets folder those changes are not reflecting in website. Though I am using sudo service restart httpd command. I ...
Arvind Chourasiya's user avatar
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 ...
Arvind Chourasiya's user avatar
1 vote
1 answer
405 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: ...
klor's user avatar
  • 404
0 votes
1 answer
144 views

Is there a scroll offset command in bash or PuTTY?

Is there a way to ensure that a certain number of lines (five, for example) will always appear above and below the cursor in bash? As I type command after command in PuTTY, the cursor and all my ...
MrSnrub's user avatar
  • 175
0 votes
3 answers
3k 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 ...
André Pletschette's user avatar
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 ...
messick's user avatar
  • 11
1 vote
1 answer
644 views

Share Telnet connection as a proxy

i have telnet connection to device behind firewall (there is no SSH) and i want to use this connection as a proxy to give local network access to Firefox for example if is possible using Putty ...
Antonio Italiano's user avatar
0 votes
1 answer
428 views

Can't sudo while signed in with PuTTY, but can while using SSH from linux box

I have found that when I am signed into my Arch Linux desktop via PuTTY I cannot use sudo, but if I SSH in from my linux laptop I can. I am currently using the workaround of attaching to a tmux ...
Davis Yoshida's user avatar

1
2 3 4 5
7