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.
1,437
questions
-1
votes
0
answers
26
views
I cant get my rp 4 with kali installation to connect to my wifi (headless)
i did a headless kali installation on a pi 4 model B 8GB using pi imager, and since kali doesnt support pi imager's custom os settings (eg. ssh, pre configuring wireless networks), i looked up on the ...
0
votes
0
answers
16
views
Raspberry Pi Zero 2 W. Connect to another WiFi network [duplicate]
I have a fresh raspberry pi zero 2 w with the official os installed(without GUI). I used the default settings in Raspberry Pi Imager to initially connect my Raspberry Pi to Wi-Fi. Now that I moved ...
0
votes
0
answers
40
views
unable to connect to raspberry pi 5 after it's sat around for a few days
I have a Raspberry Pi 5 and after it's been up for a few days I am unable to connect to it via SSH / VNC nor am I able to Ping it from my Windows laptop. I can access the Raspberry Pi with the ...
0
votes
1
answer
28
views
Disable SSH server on my Pi 5, should I still worry about intrusion if I have a simple password?
I have disabled SSH and uninstall the SSH server on my raspberry PI 5. I have also installed UFW with default settings. Should I still worry about intrusion if I have a simple login password?
Thanks
0
votes
1
answer
29
views
permisssion denied, authentications that can continue (publickey, password) Raspberry PI
Specs:
Pi Model: Raspberry Pi 4 Model B
Client OS: Ubuntu 22.04 Pro
I am trying to ssh into raspberry Pi from outside my LAN, but it is giving me the same Permission denied, please try again error ...
0
votes
0
answers
88
views
Raspberry Pi 5 (Ubuntu) : SSH works intermittently
I run Ubuntu Server on my Raspberry Pi 5, headless install. I always access it by running ssh username@IP_Address.
Sometimes it works flawlessly and I am able to connect to the Pi. However, once I ...
0
votes
0
answers
38
views
Unable to disable password login
I have Raspberry Pi OS Linux raspberrypi 6.6.31+rpt-rpi-v8 installed and I'm trying to disable password login.
I have followed a lot of recommendations from different websites, but I'm still able to ...
0
votes
1
answer
60
views
How to connect Bluetooth Keyboard through SSH on a Raspberry Zero 2 W? [closed]
I have the situation:
Raspberry Pi Zero 2 W setup with WIFI connection but no keyboard attached as no micro USB hub avaiable
I can SSH into my Raspberry PI Zero from another machine
I have a ...
0
votes
2
answers
40
views
Use Pi A to SSH into Pi B, run Python script that appears on Pi B instead of Pi A
I've got two Pis connected with ethernet cable (both Raspbian Bookworm). I've been using Pi A to control Pi B with SSH.
When I SSH into Pi B, I run a Python script. The results appear on Pi A (print ...
0
votes
0
answers
17
views
Salvage RPI that I can no longer SSH into? [duplicate]
I have managed to lock myself out of my Raspberry PI 5.
I had installed Powershell, and configured my user to use Powershell as the default shell when logging in. This worked wonders.
Today I noticed ...
0
votes
0
answers
46
views
Why my Raspberry, goes offline, after wifi router internet cable is unplugged
Situation looks as follow:
I have my raspberry pi connected to the wifi network. I have internet access from raspberry.
I have my laptop with Ubuntu 21 in the same wifi network. I have internet ...
-1
votes
1
answer
69
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 >> ...
0
votes
0
answers
64
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....
0
votes
0
answers
27
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....
0
votes
0
answers
18
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). ...
0
votes
0
answers
27
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
[...
0
votes
1
answer
165
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 ...
0
votes
2
answers
66
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 ...
0
votes
0
answers
38
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 ...
-2
votes
1
answer
43
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) ...
0
votes
0
answers
18
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 ...
0
votes
1
answer
64
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 ...
0
votes
1
answer
30
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 ...
0
votes
1
answer
67
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 ...
0
votes
1
answer
61
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 ...
0
votes
0
answers
78
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?
0
votes
0
answers
26
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 ...
1
vote
1
answer
318
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 ...
0
votes
1
answer
85
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 ...
-1
votes
1
answer
113
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 ...
0
votes
0
answers
76
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: ...
0
votes
1
answer
380
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. ...
0
votes
2
answers
364
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 /...
0
votes
0
answers
44
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 ...
1
vote
3
answers
67
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 ...
-1
votes
1
answer
84
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 ...
0
votes
0
answers
260
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 ...
1
vote
2
answers
439
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 ...
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
181
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
0
votes
2
answers
211
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 ...
0
votes
0
answers
108
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 ...
-1
votes
2
answers
62
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
...
0
votes
0
answers
30
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]. ...
0
votes
1
answer
893
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 ...
0
votes
2
answers
200
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 ...
0
votes
1
answer
215
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 ...
1
vote
2
answers
4k
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 ...
-1
votes
1
answer
190
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 ...