Skip to main content

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
20 views

Cannot SSH to Pi4B from Mac

Mac: MacBook Air M1 chip running Sonoma 14.5 Pi4B: flashed SD card with SSH enabled, no WiFi network loaded (just want to focus on Ethernet connection) Connection: Pi >> Ethernet cable >> ...
Austin's user avatar
  • 1
0 votes
0 answers
19 views

SSH hanging with Raspberry Pi

I have a RaspberryPi Model 3A+, with the Raspbian OS installed. I am trying to SSH from my laptop, into my Pi over my LAN. Initially I encountered no issues. I could ssh in fine, execute commands, etc....
user10709800's user avatar
0 votes
0 answers
25 views

Connect to wired Raspberry Pi from wireless device on different subnets

My laptop is connected wirelessly to the network with gateway 172.16.96.1 and netmask 255.255.240.0. My Raspberry Pi is connected through wire to the network with gateway 172.16.156.1 and netmask 225....
Krzy's user avatar
  • 1
0 votes
0 answers
14 views

SSH from iPhone into RPi 2B on the go

I have a RPi 2B and Zero W. When I’m on the go I want to ssh into the 2B but I have no WiFi adapter. So I thought I can connect the 2B and the Zero using a Ethernet cable and adapter (for the Zero). ...
Teriff's user avatar
  • 1
0 votes
0 answers
15 views

Raspberry Pi SSH Tunnel Service Error: Code "255/EXCEPTION"

I am new here. I've recently implemented an SSH Tunnel Service on my Raspberry Pi. Here's the configuration of the service: [Unit] Description=SSH Tunnel with target server After=network.target [...
Adrien From EC3's user avatar
0 votes
0 answers
39 views

Raspberry Pi disconnects from ssh intermittently

I have a brand new Raspberry Pi 4B running a fresh install of Raspberry Pi OS full. My intent is to use it primarily over ssh. I'm not currently using wifi for this, just an ethernet connection ...
Brendan Mitchell's user avatar
0 votes
2 answers
31 views

Windows 11 PC assigns IP to Pi zero incorrectly in LAN IP series

My PC is running Windows 11 x64. I am trying to connect my Pi zero to my PC as a USB Ethernet gadget and SSH into it. My PC is also connected to the internet through a proper LAN connection. When I ...
Raghavan K's user avatar
0 votes
0 answers
28 views

ssh password is not working

When I try to connect my Zorin OS PC with my Raspberry and I enter the correct password it it's just telling me "Permission denied, please try again." I don't know why it is doing this, but ...
entchenkaesetoast's user avatar
-1 votes
2 answers
31 views

Headless/scripted Rasbperry Pi OS setup

It used to be possible to just write a Raspberry Pi OS image to an SD card, mount the first partition and create a file named ssh, power up the Pi, and do everything else via ssh. This was nice 1) ...
Johannes Bauer's user avatar
0 votes
0 answers
16 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
30 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
1 answer
24 views

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

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
51 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
35 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
33 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
50 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
24 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
1 vote
1 answer
219 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
  • 113
0 votes
1 answer
76 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
67 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
54 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
35 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
243 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
270 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
32 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
60 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
74 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
180 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
301 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
1k 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
125 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
182 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
79 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
57 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
27 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
716 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
156 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
157 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
113 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
295 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
54 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
68 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
53 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
50 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
18 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
54 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
454 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
3 answers
3k 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 partition is a FAT32 partition) was enough to setup a fresh RaspiOS install for a headless RPi without screen. Now it seems that ...
Basj's user avatar
  • 792

1
2 3 4 5
29