Questions tagged [putty]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 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 ...
  • 101
0 votes
2 answers
48 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
22 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. ...
  • 1
0 votes
2 answers
43 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, ...
  • 103
0 votes
0 answers
27 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
237 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 ...
0 votes
0 answers
42 views

With mouse mode ON, how to copy text to system clipboard?

On Windows(10), and using PuTTY, I can't get working the copying from a tmux pane when mouse mode is activated. I have read a tons of solutions, but I wish to use the easiest one which is referenced ...
  • 209
1 vote
0 answers
137 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
0 answers
36 views

Putty faster than ssh command?

I tested X11 forwarding with putty and the command ssh -X <host>. When starting a GUI application with putty, it appears to be VERY responsive, almost like it is running locally. However, when ...
  • 1
0 votes
0 answers
146 views

PuTTY SSH tunnel port forwarding

My goal is to use PuTTY as a proxy server via SSH tunnel. It works on Windows with PuTTY, but not on Raspberry Pi 3B. So far, I can successfully install PuTTY on Raspberry and connect to SSH server ...
0 votes
0 answers
68 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 ...
  • 1
1 vote
1 answer
86 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 ...
  • 1,061
2 votes
1 answer
211 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 ...
1 vote
1 answer
116 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 ...
  • 199
0 votes
0 answers
178 views

Unable to connect to kali linux virtual machine using PuTTy

IP address: 192.168.4.254, port: 22. Always time out after clicking open. Linux config on virtual machine: resolv.conf (etc): nameserver 192.168.4.254 nameserver 8.8.8.8 interfaces (etc/network): ...
0 votes
1 answer
56 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....
  • 1
0 votes
0 answers
30 views

Running Abaqus GUI on compute node on Cluster Centos 6.5. remotely

I am trying to run an Abaqus 6.14 job remotely on cluster having Centos 6.5. I have opened Abaqus GUI successfully but is running on the head node. I want to be on the compute node but I cant access ...
  • 1
0 votes
2 answers
303 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 ...
0 votes
1 answer
36 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?
0 votes
0 answers
26 views

Linux - Moved odbc.ini file from home directory

I wanted to rename my odbc.ini(old name) file name to .odbc.ini (new name). I used mv odbc.ini .odbc.ini command in the same directory. However,accidentally it got deleted from my homefolder.I want to ...
0 votes
1 answer
51 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 ...
0 votes
0 answers
455 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: ...
0 votes
0 answers
260 views

Amazon linux 2 Mysql not running

I've followed everything on this documentation https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html#prepare-lamp-server but the mysql didn't seem to start and always ...
1 vote
1 answer
3k 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 ...
0 votes
2 answers
421 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 ...
0 votes
0 answers
39 views

how to transfer iles from one host to another using SSH (Putty)

I currently have a problem in transferring files from one hosting to another. I've recently discovered that my files had build up to 44 GB in total. I want to transfer it to another hosting cpanel ...
3 votes
1 answer
451 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 ...
  • 141
0 votes
1 answer
444 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 ...
  • 115
19 votes
4 answers
11k 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 $(...
  • 2,709
0 votes
1 answer
348 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. ...
  • 119
0 votes
0 answers
121 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 ...
  • 101
1 vote
0 answers
133 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 &...
0 votes
3 answers
176 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 ...
  • 140
1 vote
1 answer
46 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 ...
1 vote
0 answers
112 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/cli@10.0.5 from Putty terminal, getting below error [host@machinename /]$ npm install @angular/cli@10.0.5 npm WARN ...
1 vote
0 answers
193 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: ...
  • 404
0 votes
1 answer
75 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 ...
  • 133
0 votes
2 answers
1k 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 ...
0 votes
1 answer
2k 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
225 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 ...
0 votes
1 answer
189 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 ...
0 votes
1 answer
129 views

Trouble Logging in as Root Via Putty (pscp)

I am working on some hackable virtual machines. For one exercise, I had to transfer a file that I downloaded onto my Linux machine to a Windows machine. I tried to transfer the filing using pscp ...
  • 1
0 votes
1 answer
572 views

Hard-set (NOT resize/reset) stty rows/columns in ~/.profile, ~/.bashrc, grub.cfg?

When I PuTTy in, I typically: "stty rows 48 columns 240" after login. I'm after a single-line/entry, in .profile or .bashrc or even grub.cfg to hard-set stty cols/rows If this requires a ...
1 vote
1 answer
222 views

Cannot ssh using ubuntu terminal

I'm trying to ssh using the ubuntu terminal into one of my machines. I'm connected to the machine's network using vpn. When I ssh using the flag -v, i get following output and then it gets stuck there ...
0 votes
2 answers
190 views

Stay connected while executing a remote WGET command?

I use Putty to remotely login into SERVER 1 and issue a WGET to another SERVER 2 to make a backup of a large directory. My question is, do I have to stay connected while this process occcurs? Or, is ...
  • 1
0 votes
1 answer
334 views

set date on linux system with ssh

I would like to set the date(and time) on an accessible linux system to the date and time of the system I am connecting with (a windows 10 system). I know the "date --set blabla" command can ...
1 vote
1 answer
181 views

Disconnected: No supported authentication methods for sudo user who authenticates using password

On an Amazon Linux 2 EC2 instance, password authentication from remote users has been enabled by running the following command during the cloud-init startup script: sed -i 's/PasswordAuthentication no/...
  • 5,179
0 votes
0 answers
31 views

Home/End buttons don't work when connecting to Solaris via Putty [duplicate]

I am using Putty to connect to Solaris machine (SunOS 5.11 11.3) from my Win10 PC (workplace mandates win, so it is necessary). Despite trying different terminal definition strings and different ...
  • 165
1 vote
1 answer
430 views

solaris ssh ctrl arrow keys do not work

I connect to SunOS 5.11 11.3 machine via ssh using putty. In terminal ctrl + arrow keys are not moving cursor to the previous/next words. There is simple bash terminal on the Solaris machine. Do ...
  • 165
0 votes
1 answer
76 views

Search entire Ubuntu machine for a word using SSH

How can I search every file on an entire Ubuntu machine for a particular word using SSH? Note: I am using the Windows program PuTTY to run my SSH sessions, but once I'm connected I have an ordinary ...

1
2 3 4 5
7