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
-1 votes
1 answer
50 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 ...
user avatar
  • 1,079
-1 votes
0 answers
43 views

Cannot access headless PI via SSH after upgrading from Buster to Bullseye

Yesterday I upgraded my PI from headless Buster to headless Bullseye. I can ping my PI, but SSH no longer works. The connection is refused. I tried to fix this problem by adding an ssh file on the ...
user avatar
  • 99
0 votes
2 answers
51 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 ...
user avatar
  • 101
1 vote
0 answers
15 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 ...
user avatar
  • 267
0 votes
0 answers
18 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 ...
user avatar
2 votes
3 answers
84 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 ...
user avatar
0 votes
1 answer
372 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 ...
user avatar
  • 1
1 vote
1 answer
38 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 ...
user avatar
3 votes
2 answers
1k 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 ...
user avatar
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 ...
user avatar
  • 1
0 votes
4 answers
646 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 ...
user avatar
  • 105
0 votes
1 answer
735 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
1 vote
2 answers
39 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’...
user avatar
0 votes
3 answers
118 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 ...
user avatar
0 votes
1 answer
147 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 ...
user avatar
  • 1
-3 votes
1 answer
34 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 ...
user avatar
0 votes
1 answer
34 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/...
user avatar
  • 1
0 votes
1 answer
111 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 ...
user avatar
0 votes
0 answers
50 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 ...
user avatar
2 votes
2 answers
94 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 ...
user avatar
0 votes
1 answer
91 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 ...
user avatar
  • 63
0 votes
0 answers
53 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 ...
user avatar
  • 1
1 vote
1 answer
420 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 ...
user avatar
  • 113
0 votes
0 answers
29 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 ...
user avatar
0 votes
0 answers
197 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/...
user avatar
0 votes
1 answer
190 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 ...
user avatar
0 votes
0 answers
48 views

multiple reverse SSH tunnel with same port on same server

I'm looking for a solution for connecting to multiple remote computers through reverse SSH tunnels from one computer/software on the same port. I have remote1 and remote2 where I cannot open network ...
user avatar
0 votes
0 answers
25 views

Raspberry Pi wont connect to Mac via ethernet cable an eth0 IP keeps changing

I have set up my pi as a WAP and I usually ssh into it via a ethernet cable connected to my Macbook. everything worked yesterday but when I booted it up today it won't ssh into my pi. I set up my ...
user avatar
0 votes
0 answers
136 views

Raspberry Pi Zero USB Ethernet gadget reconnection problem

I connected Pi Zero as a USB Ethernet gadget to a Windows 10 PC. The Pi Zero is powered by a 5V DC adapter. Then, I login to Pi Zero through it's hostname raspberrypi.local and SSH into it. Actually, ...
user avatar
0 votes
2 answers
114 views

SSH to/from Raspberry PI to/from ubuntu machine

I have configured SSH on my Raspberry Pi 4 to only accept public-private key authentication. I am successfully able to SSH from a Window's 11 machine to the Pi. First thing that I did was create an ...
user avatar
0 votes
0 answers
33 views

Reason for default keys in /etc/ssh

I just wanted to make a basic image for all my new RPis and I deleted the basic keys in /etc/ssh/ because I thought those are like "example" keys for the first usage. After the deletion I ...
user avatar
  • 101
0 votes
1 answer
67 views

Raspberry pi ssh connect to remote server

I have a remote cloud server (accessible only through ssh), with preexisting private and public keys, and I want to connect to it with my raspberry pi 3. I have already moved the private key over to ...
user avatar
0 votes
0 answers
37 views

Connection time-out when SSHing, but only on a certain network

I'm a student who recently got a RPi Model 4B to learn more about computers and programming, and I had a connection time-out issue with SSH that only seemed to happen on my network. With some help ...
user avatar
0 votes
2 answers
59 views

How to make headless Raspberry Pi automatically perform a command over ssh?

I have a headless Raspberry Pi accessed from my Mac over WiFi. However, whenever I lose the connection, it stops doing whatever I'm having it do; is there a way to make the Pi do a command on its own, ...
user avatar
0 votes
0 answers
51 views

Setting up a wifi access point using an external wifi adapter

Im trying to set up my RPi model 4 b 2Gb to act as an access point. Im using the built in chip in monitor mode using nexmon_csi library. The library is tested and working fine. When I plug in the new ...
user avatar
1 vote
1 answer
52 views

Install aquarea2mqtt on Raspberry Pi

Im new on Linux/Raspberry Pi and I have some problem with installing program from a file. Can You help me with that? I need this project implemented in my Home Assistant (to view my heat pomp) https://...
user avatar
0 votes
0 answers
64 views

Setup Btrfs RAID1 with LUKs encryption and remote unlocking via SSH with Dropbear

I can successfully boot a Btrfs RAID1 Pi4 on two SSD's by following these steps. I intend to upgrade it to use system encryption, and be able to unlock it at boot via a dropbear console; I don't need ...
user avatar
0 votes
2 answers
118 views

Is it possible to write to file located in windows directory using Node-Red via ssh?

I log into my raspberry pi via ssh. I am trying to read and write to a file located in my C drive using Node-Red. However when I deploy the Node-red task, the file that I amend is not located in the C ...
user avatar
0 votes
1 answer
70 views

Permission Denied on SSH, but can VNC with same credentials

I have a raspberry pi on my network and have ssh'd into for over a year now nearly on a daily basis. I have VNC setup as well which I use about once a week. Suddenly today I can no longer SSH in. I ...
user avatar
0 votes
0 answers
58 views

raspberry 4 ssh not working for me

I just bought raspberry 4 B, i am using kingstone 128gb sd card and stickyfingers (kali linux) as OS. I am trying to do headless ssh setup but it doesnt work. I tryied to put ethernet cable to it but ...
user avatar
1 vote
0 answers
93 views

Reverse ssh tunnel stops working after a few hours

I have a Raspberry Pi Zero W (PiZeroW-1, Raspbian Buster)on a local network behind a 4G router with CGNat. To be able to communicate with it from elsewhere I have setup a reverse ssh tunnel that is ...
user avatar
  • 11
0 votes
0 answers
30 views

Accessing RPi through SSH when its connected to Tello in wpa_supp.conf

I'm using Raspberrypi Zero W V1.3, DJI Tello, Raspberrypi is connected to Tello via /etc/wpa_supplicant/wpa_supplicant.conf, This is mandatory because I want the tello to receive commands from RPI in ...
user avatar
0 votes
0 answers
101 views

ssh raspberrypi.local works but ping does not work

ping raspberrypi.local ping: cannot resolve raspberrypi.local: Unknown host But ssh pi@raspberrypi.local works. I can ping by ip address.
user avatar
1 vote
0 answers
140 views

VLC doesn't show video when opened from SSH

My VLC isn't displaying the video stream when I open it in an SSH session. The audio works fine, but video doesn't. The video does work under the following circumstances: Opening vlc using the mouse ...
user avatar
  • 111
0 votes
1 answer
47 views

Opening web-page in CLI

I have a Gmail API running in a docker container on raspberry pi. I only access the pi through an SSH session via terminal. It needs to authenticate me as a user. This requires that I go to a ...
user avatar
-1 votes
2 answers
64 views

Can't log in through ssh after running "sudo passwd -d pi"

I'm running Raspbian Buster Lite on a board that I normally only access over SSH. The default login is pi/raspberry. I wanted to clear the password for convenience so I logged in and ran "sudo ...
user avatar
  • 1
0 votes
0 answers
53 views

Failing to connect to Pi Zero W using headless SSH (USB Connection)

I'm trying (and failing repeatedly) to connect to a Pi Zero W using SSH over a USB connection. I know this question has been asked before, but trying the solutions brought up in those threads has ...
user avatar
0 votes
0 answers
317 views

Debian bullseye: ssh service cannot start on boot "Address already in use"

I'm using debian tested images on Raspberry Pi 4. After installing ssh service with apt-get install ssh, i'm fancing the following issue: the service failed to start on boot only: -- Boot ...
user avatar
0 votes
0 answers
125 views

ssh connections not working on pi

I have an sshd server running on a Raspberry Pi (Raspbian 10), which has worked pretty flawlessly for over a year, but has suddenly started acting up in the last few weeks. I'll attempt a connection, ...
user avatar
  • 103

1
2 3 4 5
28