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
3 answers
47 views

Raspberry Pi 2: Cannot SSH

I have a Raspberry Pi 2 that I was actively using for a few years and then stopped using for many years. Recently, I connected it to a Google Wifi router via wire. The web server I previously set up ...
Tom Bennett's user avatar
0 votes
1 answer
28 views

Raspberry Pi 4B not discoverable

Just bought a new Raspberry Pi 4B, and im installing this device with the recommended OS(64b) using the Raspberry Pi Imager. Im using LAN cable from my router for internet connection. The issue is, i ...
ironborn1945's user avatar
0 votes
0 answers
35 views

How to reboot my unresponsive Pi server remotly

How, if at all possible, do I reboot my unresponsive Pi server remotely? The server is in a house, my old family home, about 450km from where I actually live. There's a couple of servers in the house ...
sm0oax's user avatar
  • 1
0 votes
1 answer
63 views

scp not working but ssh works well

I have just done a fresh install of Raspbian 64bits light. When i do ssh username@ipaddress scp The ssh connection works well the raspberry gives me the help toward scp When i logout and then from ...
floupinette's user avatar
0 votes
0 answers
32 views

How I contact with SSH?

I want to connect to RPI with SSH but my computer has one network and my router has another network? I try to connect and it gives me this error: Maybe I need to change the settings? And what? It is ...
user157249's user avatar
0 votes
2 answers
85 views

SSH stays on port 22 even after editing sshd_config

I tried changing my SSH port from 22 to 220 but it stays on 22. I used sudo nano /etc/ssh/sshd_config to change the daemon config and uncommented the line with Port 22 and changed it. # This is the ...
Keen Gently's user avatar
0 votes
1 answer
39 views

Recover / reset SSH access without external monitor?

How can I regain SSH access if I: Have physical access to the device Do not have a way of plugging in an external monitor (or serial console) Was previously using SSH
Johntron's user avatar
  • 101
0 votes
2 answers
50 views

PI not accessible over USB tether from Android

I am trying to connect to my RPI4 with my WiFi card in monitor mode using a USB tether connection, I have setup a static IP on the usb0 interface in the Pi as 192.168.231.212, my device is using the ...
Arnav Mishra's user avatar
0 votes
0 answers
46 views

RPi ssh connection issue through Android smartphone

Recently I installed headless Debian/Linux 11 (bullseye) aarch64 on my Raspberry Pi 3 Model B, and I'm having problems with SSH. The issue is that I use the German mobile operator Freenet and I can't ...
Barrel Titor's user avatar
0 votes
2 answers
52 views

ssh multiple custon key names [closed]

I have multiple Raspberries, each with a unique key eg: pi1_id_rsa, pi2_id_rsa and pi3_id_rsa. I want to do ssh pi1 or ssh pi2 to shell into a pi. For this, I have put in ~/.ssh/config, ... Host pi1 ...
rkochar's user avatar
  • 103
0 votes
0 answers
19 views

Raspberry Pi Zero SSH over USB publickey permissions error

I've been trying to communicate with my Raspberry Pi 0 through SSH over micro-USB, but haven't gotten very far. Typically, I can do it remotely by wirelessly connecting with ssh [email protected]. ...
Ben Bistline's user avatar
0 votes
1 answer
149 views

raspberry pi zero 2 doesnt connect with ssh even though the ssh file was added [duplicate]

i've installed rasbien lite onto my raspberry pi zero 2 with the installer, i've added the file to get an internet connection onto the boot sd card and created an ssh file, i can see my pi ip address ...
ZeXVex's user avatar
  • 1
0 votes
2 answers
37 views

SFTP server refuses connection when a user restricted to a folder

I have Raspberry Pi 3 and I want to be able to send and receive files through SFTP. I was able to set everything up and I can connect to my Raspberry Pi. However, I want to restrict or limit user to a ...
ThN's user avatar
  • 1,015
0 votes
1 answer
48 views

My Raspberry Pi 4b changes password by itself

I am using Raspbian Bullseye on my Raspberry Pi 4b, and in the last few days it has been changing the password by itself. I have a headless setup, so I can only connect via SSH, and sometimes, several ...
mrRandom's user avatar
1 vote
2 answers
1k views

Unable to ssh into headless raspberry pi?

I am trying to set up a headless raspberry pi 4 so that I can ssh into it via my computer. To set it up, I did the following: Erased the microSD via disk utility BalenaEtched raspberry pi OS from ...
Runeaway3's user avatar
  • 113
0 votes
1 answer
25 views

putty ssh 2MFA isn't prompting 6 digit code but other options do

I was following along with 2 guides for my new Raspberry pi 4b. To get ssh setup and MFA. I've included the link for the MFA as this appears to be where I'm having an issue. My issue is that when I ...
NAVI's user avatar
  • 1
0 votes
0 answers
113 views

cant SSH into Raspberry Pi for the first time headless setup, login issue

I am trying to SSH into my Raspberry Pi 4 Model B for the first time. I've successfully installed the Raspberry OS using the UI configuration tool from the official website and boot loaded and SSH ...
eguneys's user avatar
  • 101
0 votes
0 answers
31 views

missing config file and blocking scripts after sshguard installation

I am trying to install sshguard on Raspbian 9. The installation went fine. However, I can't find any default sshguard config, which should be in the /etc/sshguard/sshguard.conf file, and also the ...
Filip Rojek's user avatar
0 votes
1 answer
45 views

Hostapd *just* for SSH

I have a WiFi-to-Ethernet bridge on my raspberry pi 4B that works great, but I’d like to be able to SSH into the unit when no network is detected. Is there a way to configure hostapd just so I can SSH?...
cdubs's user avatar
  • 103
0 votes
1 answer
38 views

Using a Raspberry to automatically SSH into a host and launch bpytop

I've done some Googling and, so far, none of the answers I've found fit my use case for one reason or another. What am I trying to achieve? I want my Raspberry Pi 2B+, at boot, to SSH automatically ...
vale.maio2's user avatar
0 votes
1 answer
27 views

VS 2022 Remote File Explorer

I'm trying to connect to my Raspberry PI directly from Visual Studio 2022, and I can't seem to get this new feature to work: I can easily connect to the PI over SSH, so I don't understand why this ...
codeputer's user avatar
  • 123
0 votes
0 answers
15 views

SSH from Windows CL to RPi4

I've been trying to find a way to use my Yubikey to ssh from Windows to my RPi, but I can't seem to find a way. When I use a Kali VM, I am able to use the ssh-keygen -t ed25519-sk command and this ...
Nicola Maganuco's user avatar
0 votes
1 answer
39 views

how to use a 32 gigabyte sd card for raspberrypi zero w?

I've been trying to ssh to a raspberry pi with a 32 gigs sd card with no progress. I've been using raspberry pi imager for a while with other 16 gigs sd's on other pi zero w with expected results. ...
Martin Montas's user avatar
0 votes
1 answer
111 views

SSH to raspberrypi hangs after about 30 seconds, unless the raspberrypi is being pinged

Symptoms ssh connection to raspberrypi hangs after rougly 30 seconds, unless I ping the raspberrypi. The raspberry pi is at raspberrypi.lan I have a script ~/troubleshoot.sh #! /bin/bash uptime free ...
Barton Chittenden's user avatar
0 votes
2 answers
631 views

How to setup a headless Raspberry Pi for use with SSH now that adding /boot/ssh blank file is no longer enough?

In the past, adding an empty file /boot/ssh from Windows (because boot is a FAT32 partition if I remember correctly) was enough to setup a fresh RaspiOS install for a headless RPi without screen. Now ...
Basj's user avatar
  • 772
0 votes
0 answers
36 views

Access Retropie SSH from USB in Raspberry Pi Zero?

I have a raspberry pi zero without wireless and I need to log into Retropie SSH, but I have no other means of accessing it than through USB. I've tried following a tutorial before about using SSH ...
user832's user avatar
0 votes
0 answers
49 views

Cannot set MAC address for Pi Zero W USB ethernet gadget

I am trying to create a portable debian system that runs on pi zero w using the 0W image from debian-downloads, I downloaded the image and flashed it to an sd card using etcher.io, next I edited ...
misha's user avatar
  • 1
0 votes
1 answer
45 views

Why can't I SSH into my Raspberry Pi 3b+ after a variable period of time?

On boot, I can successfully SSH into my pi. Then when I exit the session, I can immediately SSH back into it but if I wait some variable length of time (usually a few hours but sometimes more and a ...
occrg's user avatar
  • 1
0 votes
0 answers
44 views

vlc shows black screen on zero 2w running Bullseye

If I use the vlc GUI or call a python script from the local command line: import vlc media = vlc.MediaPlayer("myfile.mp4") media.play() I get a black screen instead of a video. ...
user838358's user avatar
1 vote
1 answer
51 views

weird behavior of raspberrypi.local: work well after reboot windows but after suspension stop functioning

I'm very confused, it's been a week since I'm encountering this problem. I can reach and connect to my raspberry from raspberrypi.local if I reboot or after shutting down and start again my computer ...
Marco's user avatar
  • 11
1 vote
1 answer
120 views

How to program remotely on horribly slow Pi-2

I have an old RPi 2 B which I've loaded the latest version of Raspberry Pi OS Lite onto. I'd like to use it to make an IoT device using an TFT LCD screen to show information like the weather and my ...
Atom's user avatar
  • 113
0 votes
2 answers
268 views

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

I know this has been voiced before, but the most recent I've found was in 2020 and it wasn't resolved then, so I'm signal-boosting in the hope that an answer has been discovered and just wasn't posted....
keshlam's user avatar
  • 141
-1 votes
1 answer
143 views

Connect to the raspberry pi over SSH when using the raspberry as a hotspot

I configured my raspberry pi as an access point and I connected my laptop to the wifi network of the pi. However I was not able to reach the pi PING : 56 data bytes ping: sendto: No route to host ...
Steph's user avatar
  • 9
0 votes
0 answers
37 views

Remotely access my RPI

My company is building a physical product powered by a Raspberry PI 4. This product will be shipped out to different physical locations (eg. hotels, airports, stores) and connected to that location's ...
haste's user avatar
  • 1
0 votes
3 answers
236 views

How to ssh into raspberry pi when wifi auto switches to 5GHz

My router uses Smart Connect which like mesh, allows the router's 2.4 GHz and 5 GHz bands to use the same wireless settings and switches over to the best connection in traffic. When my headless rpi is ...
Jet59black's user avatar
0 votes
0 answers
53 views

LUKS passphrase over ssh is not working

I followed stinky parkia's guide to unlocking device over ssh. However, the password is not working. I am able to reach the shell to enter the passphrase but it's simply not accepting the correct ...
atb00ker's user avatar
  • 101
1 vote
0 answers
77 views

no consistent connection when using RBP as Ethernet gadget on macos

I am trying to connect my RBP to my MacBook using Ethernet gadget. I followed this guide link, I also had to share internet to the RNDIS/Ethernet Gadget. I managed to SSH to my RBP and to access ...
Pa Dalton's user avatar
0 votes
1 answer
110 views

Problem with reverse tunnel to access a Raspi on a remote network behind a CGNAT router

I have a Raspi that I want to access on my vacation home. It's on a local network behind a CGNAT router (that is, with no possibility to forward ports on the router) but since it has internet access, ...
Joan I's user avatar
  • 9
1 vote
3 answers
169 views

Unreliable raspberrypi.local connection solution

I am using a Raspberry Pi Zero 2W for some development, and am having trouble with headless operation through SSH. The usual method is via "ssh u[email protected]". This is on and off ...
Daniel Godø-Dempsey's user avatar
0 votes
0 answers
33 views

Pi up and running. SSHD and ping work. Then they stop working

I have a raspberry pi 3 running out at my gate 'handling things'. It has a dedicated static IP on my local lan connected via ethernet. After one of the raspbian updates recently, at some point, maybe ...
Tornado's user avatar
2 votes
0 answers
251 views

Cannot SSH to headless RPI Zero W via USB

I am unable to access my RPI Zero W v1.1 with SSH through USB. I'm using a fresh install of the RPI OS Lite 32 bit version through the official Imager (1.7.4), with a custom username/password, custom ...
HelpMeGame's user avatar
0 votes
2 answers
210 views

unable to ssh via usb cable

Installed fresh raspberry pi OS with default settings created empty ssh file in root folder in config.txt commented original dtoverlay and did put dtoverlay=dwc2 cmdline.txt did put modules-load=dwc2,...
VextoR's user avatar
  • 131
1 vote
0 answers
56 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 ...
plinkin's user avatar
  • 11
1 vote
1 answer
50 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 ...
Sneek's user avatar
  • 11
2 votes
1 answer
167 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 ...
none none's user avatar
  • 121
1 vote
1 answer
41 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 ...
johnscapw's user avatar
2 votes
1 answer
77 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. ...
AlvaroP's user avatar
  • 143
1 vote
0 answers
68 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 ...
Steffen Beth's user avatar
-1 votes
1 answer
280 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 ...
Steven_Pi4's user avatar
1 vote
1 answer
96 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 ...
Wes's user avatar
  • 113

1
2 3 4 5
29