Questions tagged [putty]

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

Filter by
Sorted by
Tagged with
14
votes
4answers
2k 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 $(...
0
votes
0answers
10 views

Can I supress the “server unexpectedly closed network connection” window from Putty?

When I have a bunch of sessions running and then lose my VPN connection, rather than just being able to close all my putty windows that were terminated and start over, I have to go to each window and ...
0
votes
1answer
57 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. ...
0
votes
0answers
36 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 ...
1
vote
0answers
36 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
3answers
95 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 ...
0
votes
0answers
33 views

How to redirect a port to a virtual machine (ssh tunnel or ufw)?

On the server, I run an image to a virtual machine running Linux. To access the virtual machine, I first connect to the server: ssh user@192.168.1.150 Then on the server I get to the virtual machine: ...
1
vote
1answer
23 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
0answers
39 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 ...
0
votes
0answers
54 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: ...
1
vote
1answer
32 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 ...
0
votes
2answers
110 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
1answer
726 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
1answer
49 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
1answer
93 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
1answer
29 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
votes
1answer
205 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
1answer
126 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
2answers
57 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 ...
0
votes
1answer
84 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
1answer
154 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/...
0
votes
0answers
25 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 ...
0
votes
0answers
37 views

How can I access to my Jupyter Notebook on second remote server by using putty?

I have connected to my Ubuntu 18.04 system remotely from my windows 8 machine with Putty-->ssh-->tunnel-->adding port as 8888 and destination address as localhost:8888-->open. By typing ...
1
vote
1answer
188 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 ...
0
votes
1answer
45 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 ...
0
votes
1answer
136 views

Putty ssh terminal - no color when using encrypted home folder

I use putty and ssh to connect to my Linux servers. I have a Linux Mint 19.3 server running with encrypted home directory. When I connect using putty and ssh, I decrypt the home directory. But the ...
1
vote
0answers
71 views

Using Mathematica remotely via SSH and PuTTY

I would like to run Mathematica notebooks on a remote Linux Mint machine. What I do: Connect Via VPN to the university network Start xLaunch (xMing) Start PuTTY and enable X11 forwarding (connect via ...
0
votes
1answer
27 views

remotely start a calculation on a linux machine, detach from it and reattach a day later for the results

I am using Windows 10 and I can connect to a Linus Mint System via SSH (I am using puTTY). There I would like to run a Mathematica notebook, which takes a day or so to run through. My problem is that ...
0
votes
1answer
172 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
0answers
30 views

ssh server is rejecting public key [duplicate]

Sometimes I need to login on my Linux Mint 19 PC remotely via ssh. To make this more secure I try to switch to use Public Key authentication (as I already use it on my raspberries). Basically the ...
1
vote
1answer
144 views

How to get rid of the annoying characters in `tmux` panes and menus

I noticed that in several places in the tmux panes and menus, there are chartacters being displayed in the boundaries. Example 1: Example 2: How do I get rid of these characters and make them solid ...
0
votes
1answer
1k views

“Not a valid identifier” on file read

In a Putty remote connection, I am trying to read a file line by line, cut each line by delimiter (";"), and run a command if the variables satisfy a condition. However, I get "not a valid identifier" ...
1
vote
2answers
422 views

CTRL-O causing terminal to freeze

I am using cygwin on Windows 10, to ssh to my servers, and recently I noticed that whenever I pressed CTRL+o the entire session/cygwin window would freeze up. I tested it out on putty as well and same ...
1
vote
1answer
487 views

How to Run Graphical Programs on a Remote Ubuntu System Connected with VPN to the Windows Machine?

I connected to my Mint18 (Ubuntu 16.04) system remotely from my windows10 machine with Putty. The internet connection is provided with a Wi-Fi and a VPN connection. I name, here, the IP address for ...
5
votes
6answers
2k views

Force putty to use right click to paste, on linux

Is there a way to force putty to allow to paste with right-click, on Zorin OS (Ubuntu based). I like the windows behaviour, where selected stuff is pasted, when right click is pressed.
2
votes
0answers
53 views

Why did bash (or PuTTY) interpret the two characters 'cd' as the single character '㏅'?

I ssh'd into a CentOS VM today through PuTTY -- right after I logged in and got a bash shell, I tried to cd to another directory, but the displaying of what I typed lagged a bit, and then instead of '...
0
votes
0answers
28 views

Change terminal font color [duplicate]

I'm using putty to connect to my Linux machine. I don't like blue color font since it is not easy to read: How to change terminal font color?
0
votes
1answer
314 views

Pass 'y' to plink command's interactive prompt

I'm trying to use plink to establish a connection to a remote server and remove an entry in SIP user directory list using the following command: plink root@<server-ip> -pw pwd serctl ul rm bob ...
0
votes
0answers
146 views

Move a File from Windows to Linux Server without SCP, PSCP or PSFTP

I have a file I need moved from my windows desktop to my linux server. For some reason my colleague cannot get SCP to move the file as we normally would, our servers also don't have PSCP or PSFTP ...
1
vote
1answer
73 views

Disable caching in `less +F` (make live output not wait for newline)

In less command there is a handy feature - live tail which is enabled via Shift+f when viewing a file. However it has a built-in caching - it doesn't output anything until it meets a newline symbol. ...
1
vote
1answer
31 views

Make commands available across all PuTTY sessions?

I am absolutely new to PuTTY on Windows. I would like to know if I can make some commands/functions available across all the PuTTY sessions. Suppose I want a function: greatFunction() { # highly ...
1
vote
3answers
319 views

How to set debian 9/10 and putty to show utf-8 chars?

Before opening this question, I google a lot and tried all the suggested fix Problem pm2 monit util is showed in this way instead of Strange this: pm2 list is showed right My remote system $ ...
1
vote
0answers
508 views

SSH ERROR: Unable to write random seed: open(“/home/gitlab-runner/.putty/randomseed”) returned 'Permission denied'

I'm trying to use plink to establish a connection to a remote server and remove an entry in SIP user list using the following command: plink root@<ip> -pw pwd serctl ul rm bob which then asks ...
0
votes
1answer
620 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 ...
0
votes
0answers
662 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 ...
1
vote
1answer
926 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
176 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 ...
-1
votes
1answer
48 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 ...
5
votes
1answer
3k 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 ...
0
votes
0answers
905 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:...

1
2 3 4 5 6