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 vote
0 answers
34 views

How to remotely connect to a Raspberry Pi that is connected to the internet via a mobile hotspot? [closed]

Raspberry Pi will be connected to the internet via a mobile hotspot (different mobile hotspots at different times). I am looking to connect to this Raspberry Pi remotely, be able to SSH into it. Would ...
  • 11
1 vote
1 answer
30 views

Can't access server over Wi-Fi

When trying to ssh or ping my Raspberry Pi server on my LAN I get a "No route to host": $ ping 192.168.50.249 ...
  • 11
2 votes
1 answer
29 views

SSH connection to Raspberry PI Zero W with modern Raspberry OS imager

I'd like to connect via ssh over usb from a linux laptop to a Raspberry Pi Zero W 1.1. I looked up several tutorials and followed them to the best of my ability but they seem to be outdated, as they ...
1 vote
1 answer
17 views

Raspberry has internet access but can't connect to SSH or webserver

My Raspberry Pi 3 is connected to the router via cable. To this day, I had no issues with it, I was running home assistant on it (and developing a few additions on my own). However, while I was ...
2 votes
1 answer
67 views

RPi irresponsive ssh access to LAN

I have the following setup at home: 3 RPis connected to router via ethernet. They have more than enough power supplies and are headless. RPi #1 (very old model) runs pihole and acts as DHCP server. ...
  • 143
1 vote
0 answers
27 views

Raspberry Pi 4: Black screen after boot both local and via vnc

I have a Raspberry Pi 4 that I have had running for at least half a year as a Plex server. I used Raspberry Pi Imager to create the os, and then I connected via vnc from either my mac or my pc, the ...
-1 votes
1 answer
61 views

Cannot connect to Pi 4 through hostname (SSH and VNC)

I have a Raspberry Pi 4 with Raspberry OS. I was able to ping it or connect through SSH and VNC through IP address. But I can't ping it, can't connect it with hostname. I have tried using my Macbook ...
1 vote
1 answer
85 views

I have 50 Raspberry Pi's around town on different WiFi networks. I need to be able to SSH in as needed [closed]

The PIs are all imaged off the same SD card. The only difference is the Mac Address / CPU ID. I monitor them with a python script that pings my webserver on a regular basis to upload data. The problem ...
  • 113
1 vote
0 answers
18 views

How to automatically restart a disconnected (screen) command line command [closed]

I run some web stuff on a pi, but am behind CGNAT so can't directly accept incoming connections. So on the PI I run screen to have a detached command line that runs reverse SSH to port forward from a ...
  • 141
0 votes
1 answer
66 views

Access VNC Desktop through SSH directly (Raspberry OS)

I have configured my Raspberry OS with VNC and SSH. If I want to ssh -x, I can access the LXDE desktop from Debian . However if I use VNC through SSH, I can access the default output of HDMI, the ...
1 vote
0 answers
24 views

Port forward fails on high data traffic, how can I fix it?

I wanted to test the bandwidth over port forwarding via iperf: On the first terminal: ssh myraspberry -R 5001:localhost:5001 -L 5002:localhost:5001 On the second terminal: iperf -s On the third ...
  • 287
0 votes
0 answers
34 views

Can't access ethernet connected Pi using Wifi connected laptop

I have a Raspberry Pi 4 (Raspbian) and I use it to earn income by sharing my internet bandwidth, so I want maximum speed and latency. That's why I connected it to my router using ethernet. While my ...
0 votes
1 answer
46 views

My router can't see Raspberry Pi 4

I have a Raspberry Pi 4 with Raspberry Pi OS Lite (64-bit) installed. I switch it on with Ethernet cable connected, and it doesn't appear on the router's hostname list. I don't have an SD card if that ...
  • 101
1 vote
0 answers
51 views

Raspberry Pi Zero W SSH: `client_loop: send disconnect: broken pipe/timeout/Connection reset`

I am using a Zero W for Environmental Data Logging. I am using a 3A rated power supply. The device itself is exclusively used remotely via ssh or VNC. For both cases, I am spontaneous losing ...
  • 11
1 vote
1 answer
43 views

Using C on RPI to Initiate a File Transfer from Raspberry Pi to PC [closed]

As the title suggests, I would like to have the RPI initiate a file transfer to the PC. I am thinking to make a system() call inside the C code running on the RPI. I have established an SSH connection ...
  • 21
1 vote
1 answer
59 views

RaspberryPi 4 access ssh on first time setup without changing boot data

I recently got RPi 4 kit and I want to connect to its terminal interface using Ethernet cable from my laptop. I dont have any SD card reader on my laptop so I cannot change data on microSD. That ...
0 votes
0 answers
25 views

Can ping, but cannot ssh or ssh-copy-id between two Pis connected over Ethernet

I am trying to cluster two Pis, one 3A+ and one 0, by connecting them over Ethernet. They are connected directly via an Ethernet cable with Ethernet-to-USB/MicroUSB adapters on either side of the ...
1 vote
1 answer
361 views

Run Pi camera from ssh

I have a Raspberry Pi connected by a video captures to my PC. I want to be able to start the camera of the Pi via SSH. I got a sh script that I run on the pi terminal and all good but when I run the ...
1 vote
2 answers
1k views

How to create a user with "userconf.txt" but disable auto-login

Scenario I'm trying to bootstrap Raspberry Pi's by just putting configuration to the "boot"-volume. My workflow looks like this: Flash SD-card with Raspberry Pi OS Lite copy these files to &...
1 vote
2 answers
67 views

How could I control the X11 session running on a remote Raspberry Pi?

I have a remote Raspberry Pi connected to an old display. The Raspberry Pi is not configured correctly to display to this old display (it is basically sending the wrong resolution signal to the ...
1 vote
0 answers
25 views

Rasberry Pi 4 Nextcloud Sever goes down and stops responding to SSH after a while ping still works

My Rasberry Pi 4 running my Nextcloud Server sometimes just stops responding to everything except pings after a while, force rebooting it (disconnecting and reconnecting the power) temporarily fixes ...
1 vote
1 answer
32 views

Significance of SSH Keys in RasPi OS 2022-09-22

I’ve helped a middle school build custom images for using the Raspberry Pi in classes for many years. I’ve just booted the 2022-09-22 RasPi OS for the first time. Part of the initial boot process was “...
  • 1,037
0 votes
0 answers
37 views

Static IP address not working through GUI?

I used this tutorial to make my Raspberry Pi 4B a static IP address. However, every time I run arp -a on my Windows machine, I see the Pi's IP address as dynamic. I'm not sure if it's better to ...
1 vote
1 answer
94 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 ...
-1 votes
1 answer
552 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 ...
  • 213
0 votes
1 answer
107 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
2 votes
1 answer
90 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
174 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
95 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
38 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
218 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
59 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
189 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
62 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 ...
  • 9
-1 votes
1 answer
134 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
46 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
242 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
318 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
21 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 ...
  • 101
0 votes
1 answer
171 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@...
  • 671
0 votes
1 answer
33 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 ...
-1 votes
1 answer
90 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
54 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
89 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: ...
  • 535
0 votes
0 answers
188 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
242 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
43 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/...
2 votes
1 answer
2k 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,189
0 votes
2 answers
194 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

1
2 3 4 5
28