Questions tagged [ssh]

SSH (secure shell) is a network protocol to provide encrypted communication using a client-server architecture. Question include the configuration of the sshd server on the Pi.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How to connect to rpi 4 without home network via Wifi adapter

I have a Rpi 4 (Ubuntu 20.04.5) and a desktop (Windows 11). On the desktop, I have a wifi adapter. How can connect to RPI via ssh without wifi home network? I don't need the RPI to have access to the ...
0 votes
1 answer
29 views

Setting up SSH via Raspberry Pi Imager fails. "Permission denied (publickey)"

I use Raspberry Pi Imager to create an SD card with Raspberry Pi OS Lite (64-Bit) for my Raspberry Pi 3B. I activate SSH and choose authentication via public key. Until recently this worked fine but ...
  • 215
0 votes
1 answer
33 views

Can not SSH (PUTTY) to headless Raspberry Pi 3 Model B after reboot - SSH enabled [closed]

I am working on creating a cluster with two Raspberry PIs. I was able to access both of them using Putty on my Windows 10 machine. EDIT 1 Since a reboot, I am unable to access one of the Raspberry PIs ...
  • 1
1 vote
1 answer
45 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. ...
-2 votes
2 answers
56 views

Do you need port forwarding to use SSH from your Pi anywhere?

I wanted to use my control my Pi via SSH from anywhere, and all the tutorials online I see for doing this require port forwarding. Is there any way to do this without using port forwarding?
0 votes
0 answers
32 views

How to share internet from Win10 laptop with PiZero (no WiFi) headlessly using USB cable?

I am trying to share internet using USB cable to Raspberry Pi Zero (without WiFi module). I have used the latest documentation and advices but no matter what approach I attempt, PiZero cannot ping any ...
  • 101
0 votes
1 answer
34 views

Can you control your Pi via SSH while it is off?

This could possibly be a dumb question but I couldn't find an answer online for it. Is it possible that I could connect from my PC via SSH to my Raspberry Pi while it is off? I want to access the ...
0 votes
1 answer
46 views

Can´t SSH into a Raspberry Pi

I am experiencing problems with SSHing into a home Pi that I have. When trying to SSH into it I get this error: kex_exchange_identification: read: Connection reset When using the -v option I get this ...
  • 3
0 votes
1 answer
43 views

What might cause a raspberry pi to lose SSH capabilities?

I have a raspberry pi 4 running Bullseye. I was recently running three concurrent services: hamachi, openmedia vault and Tshock servers. Everything was running fine for about a month, until I just ...
1 vote
0 answers
73 views

ssh error : kex_exchange_identification: read: Connection reset

I am new to Pi and using the command line. I am trying to set up my Pi headless connected to my iPhone hotspot, I have downloaded the Raspberry Pi Imager on to SD card and used it to enable SSH and ...
0 votes
1 answer
28 views

Pass serial port readings on RPi to remote for automated testing

The objective of my current RaspberryPi test setup is to read from/write to hardware, and constantly monitor the state/log message stream for test scenarios. The testing code runs on the RPi, and ...
  • 1
0 votes
1 answer
43 views

PLEASE HELP. Super Confused w/ Raspberry Pi 4 SSH Setup on Mac 10.15.7

Being a newb, I should have started this process 3 weeks ago so I could troubleshoot, but I'm in a hell of a bind. Trying to login to SSH on my Raspberry Pi via my Mac OSX terminal. When using the ...
0 votes
0 answers
26 views

RaspAp only working in ssh

I set up RaspAP through ssh to get it up and running but every time I end the ssh connection from my pc the hotspot stops working. I'm new to this so anything helps. I don't know if its something I ...
0 votes
1 answer
37 views

SSH into Pi Zero W over its WiFI when no local network is present? [duplicate]

I'm running Raspberry Pi OS Lite on a Pi Zero W. Currently I can SSH into it through my WiFi internet. But what if I'm out in the field with no internet? How can I configure the Pi to become a WiFi ...
0 votes
1 answer
91 views

Unable to connect to the raspberry pi through SSH

I have a raspberry pi 3 with Debian os and I am unable to connect to it via ssh through VS code.The pi has already been configured and has a username and password. The raspberry pi shows the message ‘...
0 votes
0 answers
18 views

Give ssh deamon higher priority than CPU-hogging process

I've got a web scraper running every 30 minutes via a cronjob. The web scraper is working well, but I'm now struggling to ssh in (I don't have any monitor hooked up to it so ssh is the only way I can ...
0 votes
1 answer
51 views

Can't access RPi from some computers via hostname

I have a headless Raspberry Pi set up in a WiFi network and need to connect to it using its hostname. On some computers in the same network this works just as intended with the command ssh pi@...
  • 651
0 votes
1 answer
32 views

How to connect to an old Rpi Zero?

I found a Rpi zero that I did not use for 1 year. There is valuable data there, I want to exract it. Previously I was connecting through the wifi. But meanwhile I changed the router and the Rpi is not ...
  • 133
0 votes
1 answer
49 views

Cant ping or ssh into RPI

i'm setting up a rpi. I followed this tutorial: https://www.youtube.com/watch?v=JGx2n7rkfr8 It is in german but by watching u can see what he is doing. So i followed by installing the Raspberry OS ...
0 votes
0 answers
28 views

ssh login after port 22 is suddenly not open anymore

I have a raspberry pi 4 where I installed Raspbian headlessly and had an apache web server and a mail server running - at some point the servers crashed and after not being able to fix it for some ...
  • 101
0 votes
2 answers
42 views

SSH password rejected on brand new install

I installed the latest (as of today) Raspberry OS (no desktop, x64) on a headless RPi 3. The installation went fine, I added the ssh file to start the SSH daemon and managed to connect to the service: ...
  • 515
0 votes
0 answers
36 views

Connecting from Android to Raspberry Pi Zero thru USB

How can I connect from an Android phone into my Raspberry Pi Zero through the USB cable? Very similar to this question here I can connect to my RpiZero through a usb cable on my macbook with no issues,...
  • 1
0 votes
0 answers
102 views

Cannot connect with SSH over hotspot; Getting: "kex_exchange_identification: read: Connection timed out"

I have a raspberry pi 4 and using it for a while. I always connect it via SSH over local network with my computer. But recently, I'm seeing and error such as: kex_exchange_identification: read: ...
0 votes
0 answers
41 views

SSH is not working on RPI? [duplicate]

My Rpi was working fine before. after I power it up again it and accessing via ssh pi@192.168.154.38 and its returning "permission denied, try again". then I have done some changes in root/...
0 votes
1 answer
668 views

Standard Passwort not Accepted – Headless Setup [duplicate]

I downloaded the most recent version of Raspberry Pi OS, saved a wpa_supplicant.conf and a ssh file in the boot partition, but I was not able to ssh to the pi with ssh pi@raspberry.local as the ...
  • 1,129
0 votes
2 answers
79 views

Cannot SSH into Pi4 from Windows

I know this question has been asked one million times - but all the input I found so far didn't help. Long story short: I cannot SSH into my Raspi anymore. Yesterday I've installed Raspberry Pi OS x64 ...
  • 101
1 vote
0 answers
16 views

ssh "Connection refused" on fresh Raspbian 11 lite? [duplicate]

I just installed Raspbian on an sd card using Rpi imager. I manually added the empty ssh file like I always do, booted up and ssh'ed into it. It worked great. Then I realised it was Raspbian 10 (old ...
  • 277
0 votes
0 answers
34 views

Can't Connect to Pi: ssh_exchange_identification: read: Connection reset by peer (Using external HDD/SSD)

Issue -- ssh_exchange_identification This problem happens only when raspberry pi is been used with external SSD and this happens on a random occasion and prevents me to ssh into the pi. A simple ...
2 votes
3 answers
94 views

Cannot SSH into periphery RPis from master RPi using python script automated from crontab: Host key verification failed

Project Overview I have a series of RPi 3B+ which collect T/RH data using connected sensors. These "periphery" units collect data every 5 minutes, append the data to a CSV file that holds a ...
0 votes
1 answer
1k views

"raspberry" password denied first ssh connection [duplicate]

I've followed the guideline explaining how to install Raspberry Pi Os (for my RPi 4 model B) from the official website. I installed first the light version and then the recommended one. I added the ...
  • 1
1 vote
1 answer
199 views

Raspberry PI SSH randomly closes connection

Initial Connection to the RPi is flawless, even with VS Code Remote Dev. But after some time (without special command) the RPi closes the connection ("Connection to 10.0.0.11 closed by remote ...
3 votes
2 answers
3k views

SSH into Raspberry Pi OS Lite not working

I followed the instructions on how to enable SSH and get my Rasberry Pi connected to my network. I do see the device on the network and when SSH into it I do get the screen to validate the ...
0 votes
0 answers
20 views

Can't SSH on Fresh Install of Raspberry Pi OS lite [duplicate]

this is my first question ever so sorry if I don't follow proper procedure with how I phrase everything. Anyway, I'm trying to set up my raspberry pi for the first time, but am unable to connect to it ...
  • 1
1 vote
4 answers
2k views

Why can I not login to my raspberry pi 4b?

I am attempting to log in to my raspberry pi 4b for the first time. I have the wifi file all sorted out and I have a blank file called ssh. I have done ping raspberrypi.local and its shows up and ...
  • 115
0 votes
1 answer
1k views

Headless Pi Zero W 2, SSH over USB fails with permission denied error

I'm trying to get headless SSH access to a Pi Zero 2 W using a USB cable from my Mac... However the SSH is failing with "Permission denied, please try again.". What am I doing wrong? These ...
0 votes
0 answers
62 views

SSH to RSP 0W via bluetooth

I'm starting a new project for my RSP 0W. I wold like to SSH to it via bluetooth from my Mac (Big sur). I already can SSH via wifi but for my project no wifi will be available. I already tried ...
1 vote
2 answers
43 views

Transferring files from raspberry pi 3 Model B+ to raspberry pi zero v1

I have a raspberry pi zero v1 and a raspberry pi model 3 B+. The second one has some testing files i want to transfer to the first one. Right now i’m ssh’ed into both raspberry pi’s (I’ll call them rp’...
0 votes
4 answers
217 views

Rpi3B+ ssh session drops randomly

I have a Raspberry Pi 3 Model B Plus Rev 1.3 in my Ethernet network that runs headless with octoprint and an arduino pro mini connected to it via i2c. Wifi is disabled. The Rpi is powered from an ...
0 votes
1 answer
403 views

pip cannot install anything. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I have just set up my new raspberry system. However, my pip cannot install anything. Keep showing 'WARNING: pip is configured with locations that require TLS/SSL, however, the SSL module in Python is ...
  • 1
-3 votes
1 answer
43 views

SSH not working on freshed installed Rasperry Pi OS with enabled ssh in Rasperry PI Imager

I have the Raspberry Pi 4B (2GB) and I'm trying to configure it without using a desktop environment. I'm using the official Raspberry Pi Imager v1.7.1. I'm installing Rasperry PI OS Lite (64bit). In ...
0 votes
1 answer
48 views

Working ssh tunnel script does not work when executed by 'on boot' techniques

The following works flawlessly, in that it allows me to access a webpage hosted on the Pi at my domain which is hooked up to a google compute vm. pi@raspberrypi:~ $ ./pi_home_reverse_proxy/scripts/...
  • 1
0 votes
1 answer
136 views

Detection of USB Ethernet gadget by PyQt GUI in Windows 10

I am looking to implement this feature where a Pi connected to Windows 10 PC is detected by a PyQt GUI on the press of a soft button or through periodical scan of connected devices. I can see Pi in ...
0 votes
0 answers
79 views

Using Tkinter GUI to control the GPIO pins on Raspberry Pi when GUI isn't stored in Pi

Using Tkinter to control the GPIO pins on Raspberry Pi is easy and trivial, but can it be done when GUI is not stored in pi, but to another device. granted the device and Pi are connected to the same ...
2 votes
2 answers
123 views

SSH connection status indication through GPIO LED

I am looking to implement this feature where an LED connected to Pi GPIO should turn on whenever the Pi is successfully connected to a PC by SSH and turn off otherwise. Appreciate any help in ...
0 votes
1 answer
109 views

Cannot SSH with IP address only via Bonjour

I got a Pi zero W 2 on the same wifi network as my Macbook. I can login when I use the Pi's bonjour address: ssh radio.local but when I try via the IPv4 address it does not accept my password: ping ...
  • 63
0 votes
0 answers
84 views

Can't SSH into raspberry pi after being inactive for a while

Alright, so, I've recently set up the Raspbian OS on the raspberry pi 3b, and I can ssh into it normally. Although, if I leave the pi inactive for a while and don't do anything with it, I'm unable to ...
  • 1
1 vote
1 answer
733 views

mDNS for Pi stopped working

First time setting up a Pi yesterday, I installed Raspberry Pi OS Lite 64 bit and filled in options in the Imager application to configure wifi out of the box, as well as setting the hostname and ...
  • 113
0 votes
0 answers
32 views

legacy question (wd labs pi node zero), trying to ssh over usb

I'm completely new to raspberrypi, but decided to have a go with a simple stand-alone timelapse camera setup. I needed lots of storage memory but not much computing power, so i got a new-old-stock wd ...
0 votes
0 answers
386 views

Automatically add ssh keys to ssh agent on Raspberry Pi

I want to access GitHub via SSH. I have created a passphrase protected SSH key which I want to add to the ssh-agent on login. If I add a SSH key to ssh-agent via command ssh-add ~/path/to/key </dev/...
0 votes
1 answer
364 views

Changed router, now cant SSH into Pi: Connection refused

I used to be able to SSH into my pi on my home network on port 22 all the time. Worked fine. ssh pi@192.168.1.34 I changed my Vigor Draytek router to an ASUS TUF Gaming AX5400, which assigns a ...

1
2 3 4 5
28