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
0 answers
14 views

Can I use my phone or MacBook to replicate my home wifi for on the road SSH access?

So I set up a project on a Pi zero that runs a basic python script on startup. I made a last minute change and it passed the first few hurdles of a rudimentary test so I unplugged it and packed it in ...
Ben's user avatar
  • 1
0 votes
1 answer
18 views

Change tty remotely via SSH connection on a Mac

On the RPI I have two sessions running on two different terminals (tty1 and tty2). from the Pi directly connected keyboard I can change between them using ALT + > keys and even sudo cat /dev/vcs1 ...
BarclayVision's user avatar
0 votes
0 answers
18 views

How can I change the main menu and default window size, plus where right click menus/hover menus appear? (Raspberry Pi 3a+)

I recently started using VNC connections using RealVNC viewer (and sometimes I occasionally use SSH) and now my main menu size, default window size and position, and hover/right click menus are messed ...
HyperOverflow's user avatar
0 votes
1 answer
45 views

Possible to ssh to remote Pi inside corporate firewall without port-forwarding?

Situation :: There's a Pi running an arcade machine inside a clients' office. I can connect to a network via utp cable, so the Pi has internet connection, but asking for port forwarding to ssh to the ...
Jos's user avatar
  • 101
0 votes
1 answer
20 views

Raspberry Pi Zero 2W - SSH causes a halt

I connect Raspberry Zero 2W via SSH to the computer and everything looks correct, but when I'm trying to install some library like pip install mysql-connector-python or run symfony command symfony ...
Kenny Pattern's user avatar
0 votes
1 answer
29 views

Problem setting up Raspberry Pi Zero 2w

I have a little problem setting up my Raspberry Pi Zero 2w. Since i don't have a micro HDMI cable, i wanted to set it up so that i can connect to it via ssh. This however did not work at all. I wanted ...
Funkhi's user avatar
  • 1
0 votes
0 answers
39 views

Remote desktop connection between rpi4 and windows 11

I am facing this error for a while now. The picture below is the error i always encounter. Any suggestions?
Mrinal's user avatar
  • 1
0 votes
0 answers
21 views

Log into a Powershell session over SSH, but keep SFTP working?

I have recently reinstalled my Raspberry in an effort to try to get something useful out of it, so far so good, including getting .NET 8 running nicely on it. Since I have started to use Powershell, I ...
Lasse V. Karlsen's user avatar
0 votes
1 answer
143 views

SSH to raspberry pi - no matching key exchange method found

I have set up a Raspberry Pi 4 with the current Raspberry Pi OS in my home network. When I try to connect to it via ssh I get: Unable to negotiate with 192.168.xxx.xxx port 22: no matching key ...
jammon's user avatar
  • 103
0 votes
1 answer
63 views

How to make privileged user

I get this message when I try to SSH into my Raspberry Pi after having run sudo shutdown: System is going down. Unprivileged users are not permitted to log in anymore I thought the default account ...
hawk's user avatar
  • 101
0 votes
1 answer
50 views

Help with "-bash: syntax error near unexpected token `do' "

Background: Yes, I'm a noob. I've been learning Debian Linux the last several months. Here's the situation: I have 10 Raspberry Pi's (3B+) with hostname rpi-100 to rpi-109. I am trying to automate ...
Myszek512's user avatar
0 votes
0 answers
40 views

SSH over Ethernet directly to PC causes: client_loop: send disconnect: Connection reset

I have my pi 5 (fresh install) (also tested pi 4, same issue) connected via ethernet cable to my PC (windows 11). SSH into the pi 5, after about 2 minutes, causes: client_loop: send disconnect: ...
Olaf's user avatar
  • 141
0 votes
0 answers
33 views

Trouble logging into ssh

I FINALLY received a 27W power supply yesterday and thought I would use it to fire up an RPi 5. Igave the same host name as the RP4 I used previously, flashed the image and switched it on and tried to ...
ozjohnno's user avatar
0 votes
1 answer
156 views

Turning on network-manager terminates ssh

I am new to this whole thing. I am trying to setup a hotspot on my pi zero 2 w and installed the pi-OS lite legacy 32 bit using the pi imager and setup the wifi connection and ssh thingy from there. ...
SikePotatoe's user avatar
-1 votes
2 answers
198 views

Slow ssh login after upgrade to bookworm

I have just upgraded to bookworm from bullseye on a Raspi 3B+-32bit. Everything is fine, but ssh login to another Raspberry became inexplicably slow. This is my ssh_config (pretty standard): Include /...
Fabio Marzocca's user avatar
0 votes
0 answers
27 views

Send command line arguments via ssh

Hi I have a remote RPI4 running raspbian. I would like to start Kodi with the --pulse argument to enable bluetooth. If I open terminal and type Kodi --pulse Then Kodi starts with the pulse enabled and ...
Andy Hill's user avatar
1 vote
3 answers
58 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
-1 votes
1 answer
66 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
126 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
220 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
34 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
780 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
78 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
137 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
67 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
56 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
26 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
536 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
116 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,063
0 votes
1 answer
123 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
3k 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
71 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
255 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
47 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
62 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
51 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
43 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
17 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
-1 votes
1 answer
53 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
360 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
2k 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
  • 782
0 votes
0 answers
44 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
75 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
86 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
92 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
73 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
185 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
1 vote
3 answers
784 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
  • 171
-1 votes
1 answer
258 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

1
2 3 4 5
29