Questions tagged [putty]

PuTTY is a terminal emulator and serial console with networking capabilities (telnet, SSH, etc.) originally developed for MS Windows but ported to other common platforms as well.

Filter by
Sorted by
Tagged with
17 votes
4 answers
177k views

Connect to Raspberry Pi over ssh: connection refused (from putty)

I have a raspberry running raspbian, and I want to connect over SSH, but something is happening. On the raspberry I have run nmap and port 22 says: OPEN; the ssh process is running and fine. But I ...
ptf's user avatar
  • 349
15 votes
3 answers
34k views

Shutdown Raspberry over ssh

to Shutdown my Raspberry I type sudo shutdown -h -P now this works fine when I am directly contected via USB Keyboard and Hdmi display but when Iam connected over SHH from my windows Pc using Putty it ...
Zion's user avatar
  • 321
10 votes
5 answers
46k views

How can I access my Raspbian Wheezy installation via SSH? Is it enabled by default?

Is SSH enabled by default on the Raspbian Wheezy 7 install image? And if it is, which IP address is used so I can access Pi via PuTTY and Filezila? Important! As per Philippe Lhardy's answer ...
zsn's user avatar
  • 431
6 votes
4 answers
13k views

How to share my internet connection on a (Windows) computer with a Raspberry Pi?

I have a Raspberry Pi directly connected to my Windows laptop through Ethernet, so I can make a SSH connection with PuTTy, everything works fine except that my Pi has no access to the internet. ...
Kil'jaeden's user avatar
5 votes
3 answers
3k views

Start python script on pi through putty so it still runs after closing putty

I want to build a water dispanser using a raspberry pi. The pi is attached to a touch screen. Further, I made a python script to control everything. From time to time, I want to adjust the script to ...
maddo7's user avatar
  • 153
4 votes
1 answer
8k views

How do I find out the IP address of my Pi?

So I do not have an HDMI monitor or any monitors around but I do have a computer with an ethernet port and I know that I can SSH to my pi via putty but the problem is that I do not know how to get the ...
Bankrupt Spetsnaz 1991's user avatar
4 votes
4 answers
1k views

Putty error while connecting Raspberry Pi to my computer

With reference to the post SSH for Raspberry Pi using a PC, I tried the same steps and got the same error: Network error, connection refused In the post I mentioned, I saw an answer mentioning "...
Shashank BR's user avatar
3 votes
2 answers
1k views

SSH disabled by default

I'm quite new to raspberry and linux so this question might be easy to answer but i'm really clueless... I installed raspbian jessie and wanted to connect via ssh connection and putty. Unfortunately i ...
Poldon's user avatar
  • 31
3 votes
2 answers
1k views

Can I SSH into my pi via a USB-to-USB connection with my laptop?

My laptop does not have a built-in ethernet port because it is new so I used to SSH with my pi via a USB-ethernet adapter but I recently went to Russia and forgot the adapter in the US and since I am ...
Bankrupt Spetsnaz 1991's user avatar
3 votes
3 answers
6k views

Use PuTTY & winSCP to SSH using .local domain

I'm trying to move over to host and domain names with my local networked Pis, but I need to start by being able to use PuTTY & WinSCP. It works well using IP's. I've already set up the host and ...
Renier Delport's user avatar
3 votes
1 answer
180 views

Using RPi 2 over WAN with PuTTY and VNC

When using RPi 2 via remote internet connection, is there any harm in using both PuTTY and VNC (tightvncserver) at the same time?
user avatar
3 votes
1 answer
3k views

How do I run a shell file on startup (before login)? [duplicate]

I have a bash file I want to run when I turn on the Pi. I have seen a few solutions utilizing init d or adding it to some other file or directory, but the problem is that when I sign in with SSH they ...
user avatar
3 votes
5 answers
14k views

Pi desktop through PuTTY and Xming

I am trying to connect my Pi to my laptop, I have finished installing the OS and through PuTTY and Xming, I am trying to setup the connection but now startlxde command doesn't work. Can someone help ...
Nea's user avatar
  • 31
2 votes
3 answers
2k views

How can you mirror the raspberry display?

I'm using my pi as a bitcoin miner and to start the mining program I use putty. However when I close putty it also stops my miner. What I'm wanting to do is start the mining program from the pi itself ...
Jace's user avatar
  • 21
2 votes
2 answers
7k views

Displaying image from PI via ssh and xming on my PC

Firstly, I've googled around, but got myself horribly confused; hence this question. I have a headless/keyboardless Raspberry pi with a camera board on it, that I connect to via ssh using my windows ...
reggie's user avatar
  • 1,121
2 votes
1 answer
2k views

ModuleNotFoundError: No module named 'PIL'

I am having issues trying to run a python file that works with an rfid headder i have on my pi 0. Im brand new to the pi so it might be that ive not done something simple but im still stuck. I have ...
Jack Coode's user avatar
2 votes
1 answer
68 views

Does Raspbian start its automatic services/daemons when it's turned or when someone logs in?

I'm using Raspbian. I connect through Putty. My question is, before I connect with Putty, is the Pi actually doing anything or is it just sitting their idly? Before logged in, does it start the ...
HoisZyrian's user avatar
2 votes
2 answers
440 views

Can't SSH by name on stretch; can on jessie

I just updated my Pi0W's to stretch, from jessie, and now putty won't let me connect by name (e.g. [email protected]) like it used to. It does work as expected if I use the IP. But the odd thing ...
Brian's user avatar
  • 21
2 votes
1 answer
263 views

Putty SSH, can't log into Raspberry

Heyo, I use my raspberry pi zero as an rgb strip controller behind my desk, I have a simple http/php server running on it so I can change the color from my web browser, it is powered by a phone ...
Matas Kart's user avatar
2 votes
1 answer
268 views

WinSCP to Pi from external network (DDNS/Port forward SSH)

I have setup home network to use DDNS such that I can login to router from outside network using the custom domain. I have assigned static (local) IP address to raspberry Pi. I have port forwarded ...
Agruis's user avatar
  • 23
2 votes
1 answer
4k views

Connect PC to Rpi3 using serial connexion in puTTY

As specified in the title, I try to connect my Rpi 3 running Raspbian Jessie Lite from 2017-07-05 to my Windows 10 PC using puTTY on serial mode with this cable. I tried to follow a few tutorials ...
Maskim's user avatar
  • 133
2 votes
1 answer
13k views

Running emulationstation from remote laptop

I downloaded Retropie for my RPi and I'd like to configure and tweak emulationstation from my Windows laptop. I tried connecting to the Pi with putty, but I can't run emulationstation. I get the ...
T. Tournesol's user avatar
2 votes
2 answers
9k views

Problem using startx on raspbian

I have a problem with my raspberry. I have installed Raspbian, used the command startx, and it worked. After that I configured it so I can access it over network. I used PuTTY to remotely access it ...
Silviu Dragomir's user avatar
2 votes
2 answers
1k views

Can't connect to Pi over SSH without rebooting it every day - Network Error: Connection timed out

Lately I haven't been able to connect to my Pi without rebooting it every day. After a reboot, I am able to connect to it for a few hours and then it starts giving the "Network error: Connection ...
emredesu's user avatar
2 votes
3 answers
1k views

Set speaker jack in Lakka to default?

I have a small sound issue in Lakka (on the Pi 3 model B+) and was wondering if anyone knows how to fix it. Basically, everytime I start Lakka I have no sound using the Speaker jack. This answer ...
dkm's user avatar
  • 21
2 votes
2 answers
3k views

SSH Key requiring passphrase when there is none

So I've gone ahead and generated a Key using Puttygen. From there I've also done the following steps: Generated a Key Copied the Public Key string. Logged onto the pi through SCP Copied the ...
bladexeon's user avatar
  • 263
2 votes
1 answer
1k views

Seeing open windows via SSH and putty

I am currently using my pi2 as a face-recognition log in system, written in python, which is mounted on the wall on the other side of the room. I am trying to be able to connect to it via putty, over ...
Aphire's user avatar
  • 217
2 votes
1 answer
3k views

How to use photoelectronic sensor (keyence PZ2-42) with Raspberry Pi

I want to use the photoelectronic with the Raspberry Pi for a micromouse maze. Using sensors to detect the presence of micromouse at specific locations. I was given all this from my father since he'...
Milla Kurtney's user avatar
2 votes
1 answer
227 views

SSH via PuTTY Remote Forwarding Setup

I was trying to set something up so that I can SSH into my Raspberry Pi 4B from anywhere via remote forwarding. To do this I wanted to use PuTTY, specifically, I wanted to add a new forwarded port. ...
magnetosticker's user avatar
2 votes
3 answers
51k views

SSH: Access denied

I'm trying to access my RPi 3 via Putty from a Windows 10 laptop. When it prompts me to choose the user I type in pi. I have tried typing in raspberry as the password, resetting the password with sudo ...
Iliyan's user avatar
  • 61
1 vote
4 answers
19k views

Why "Server refused our key" when trying a SSH connection with Putty

Why do I get Server refused our key when trying to connect using SSH connection with Putty and when everything has been configured according to all the Tutorials? Generating the pair of keys from ...
user3315730's user avatar
1 vote
2 answers
633 views

Trouble connecting to headless Raspberry Pi Zero with VNC

I installed Raspbian on the Pi's SD card, and got the Raspberry Pi Zero to successfully boot up and connect to my home network via Ethernet (I don't have the Raspberry Pi Zero W, but instead the model ...
top_kekker's user avatar
1 vote
1 answer
158 views

SSH Access with passwordless Private Key file

I'm using an rsa 4096-bit keypair to gain passwordless access to a raspberry pi from another pi. If I use the private key on Windows with PuTTY, I am able to access the target pi fine. However, if I ...
NathanielJS's user avatar
1 vote
1 answer
14k views

SSH to RPi via PuTTY giving "Network Error: Connection Refused" [duplicate]

I cannot SSH to my RPi because of this error. I am trying port 22 by default. Any ideas?
Ryan Thomas's user avatar
1 vote
4 answers
364 views

Cannot connect to RPi with SSH

I've tried to connect to my RPi 2B over wifi with both a Windows device and a Mac. Neither of these devices can see the RPi when I try to ping it. The RPi does have internet access. I've followed ...
mjochum1's user avatar
1 vote
1 answer
332 views

Pi prompts for SSH passphrase

I have just set up SSH key pairs for logging into my Pi remotely from my windows box with Putty in my home network. It does not prompt for a password (as I have set that to "no" in sshd_config). But ...
Josh's user avatar
  • 163
1 vote
3 answers
4k views

Raspberry Pi Zero W Finding IP headless?

I recently bought a Raspberry Pi Zero W to make a USB computer. I've flashed an image and it appears to have booted correctly (as seen by the solid green light). I have a MicroUSB to USB cable ...
matthewarthur1's user avatar
1 vote
1 answer
13k views

How to remotely and temporarily start the desktop GUI in headless setup?

I have a Raspberry Pi running well in headless mode. I am comfortable running things from the command line, and so have it set to boot to CLI. I use PuTTY from Windows 10 to run any commands etc. ...
Midavalo's user avatar
  • 170
1 vote
1 answer
5k views

Pygame run on external screen using ssh

I have a raspberry pi with a lcd screen attached witch is mirroring the raspberry pi's display. I want to show a pygame window on it. When I run: python main1.py on the ripi terminal the pygame window ...
Ben's user avatar
  • 115
1 vote
3 answers
1k views

First setup of Raspberry Pi Zero W

I've just bought a new Raspberry Pi Zero W v1.1 2017 and i already have a connection problem with putty over ssh. Things i've done so far: downloaded 2017-09-07-raspbian-stretch.img and burned with ...
m3tsys's user avatar
  • 161
1 vote
1 answer
255 views

SSH Putty newline ... bug?

Sometimes when I'm messing around with putty and do a Ctrl+C on certain commands (or similar), the terminal get messed up. By "messed up" I mean that when I press enter, the newline is not inserted ...
Fusseldieb's user avatar
1 vote
1 answer
157 views

Trying to connect to my raspi with SSH, cant be pinged but can connect to the internet

I used to be able to use putty to connect to my pi via ssh. However, after having left it on for a while and trying to connect a couple of days later, I was faced with the message "putty fatal error: ...
BombSquadKitten's user avatar
1 vote
2 answers
700 views

Can I connect my Windows 8.1 laptop to my Pi via WIFI?

My laptop does not have an ethernet port and I also do not have a USB-to-Ethernet port adapter but what I do have is a WIFI dongle for my pi. I was thinking, can I possibly connect to my pi via WIFI ...
Bankrupt Spetsnaz 1991's user avatar
1 vote
1 answer
719 views

Raspberry Pi modem connection

I have a wifi modem/router. it has lan ports also. I want to connect my raspberry pi to the modem using Ethernet cable and I want to operate raspberry pi using putty in my laptop which is connected to ...
Dushyanth Shenoy's user avatar
1 vote
2 answers
2k views

Can't connect to RPi4 from Windows 10 (SSH,RDP, VNC, HTML)

I recently was attempting to connect to my RPi via SSH & Remote Desktop. After several failed attempts from accessing it from windows, I attempted to access it from my Android phone on the same ...
D K's user avatar
  • 21
1 vote
1 answer
440 views

Accessing a Virtual Environment from IDLE3 shell?

On my pi3 I have created a virtual environment with Python3. I run my pi headless, using my Windows 10 PC. I access the pi with 3 apps: - PuTTY for terminal usage; - WinSCP for a file Explorer; and ...
Gary's user avatar
  • 131
1 vote
1 answer
350 views

Using SSH on RasPi3 with existing GnuPG Key

I want to use public/private key act for logging in to my raspberry pi. I have an existing public key (GnuPG), can i also use this one, or do i have to use putty keys (.ppk) for this? If this is ...
idontknowwhoiamgodhelpme's user avatar
1 vote
2 answers
4k views

Putty SSH connection with different client IP-address

I am using PuTTY and a VNC viewer to control my Raspberry Pi. Now, I have to change the static IP-address of the LAN Interface of my PC from: 192.168.0.1 to ip: 192.168.1.20 netmask: 255.255.0.0 ...
Jannis Kappertz's user avatar
1 vote
2 answers
4k views

Can't connect through PuTTY

I'm going crazy trying to connect to my Pi through PuTTY. I know I have SSH enabled, I checked the ports, used ifconfig and put in every single IP address I saw in there, used hostname -I, and they ...
NeonCop's user avatar
  • 75
1 vote
1 answer
328 views

PuTTy command line ~# versus ~$

I'm a beginner at learning to use the Raspberry Pi, and I was wondering what the difference between pi@raspberry:~# and pi@raspberry:~$ are? I'm using PuTTy.
J_Sun's user avatar
  • 31