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 votes
1 answer
37 views

Is there a way to grant raspberry pi that you have ssh'd into access to a VPN that you're currently connect to?

If i'm connected to a VPN on my main machine, then ssh into my pi is there a way to share that VPN connection with the pi without having to literally install and set up said VPN on the pi?
1 vote
1 answer
205 views

SSH disconnects after ~10 mins and can't reconnect

After around 10 minutes of starting up my Raspberry Pi (Model 4b) and being SSH'd into it, it freezes. If I try to reconnect I just get connection timed out. I've connected it to a monitor and it ...
  • 111
0 votes
0 answers
41 views

SSH remote connection working "every other reboot"

Latest raspberry pi os lite installed on a raspi4 4gb, customized to my needs. I can normally SSH into it, everyhing works. I then reboot (sudo reboot) and raspi won't respond to SSH connection ...
0 votes
0 answers
43 views

SSH from Windows STOP working abruptly to RPi 4

I am not able to connect to my RPi4 via SSH (Open SSH) from windows abruptly. it was working fine and stop working suddenly. I am able to ping to RPi from windows successfully. SSH from this windows ...
  • 1
0 votes
1 answer
99 views

Connect to secure web socket server on RasPi from Windows client

I have an architecture as follows: Server: secure web socket server implemented in Python and running on RasPi device(s) Client: web app (https) running in a browser on Windows machines and ...
  • 61
-1 votes
1 answer
23 views

Putting a PNG on the Pi Headlessly

so I'm sure someone has an easy answer to this. I'm running a Raspberry Pi headlessly - I can SSH in to its static IP address, while it sits in a box so it can't get damaged. Usually I just send it ...
1 vote
2 answers
358 views

Wake On Lan through RPI 1b+ v1.2

Could you guys help me out with setting up a WOL setting? There's a catch. I've googled a bit and found solutions but I want something more delicate. Google suggests that I remotely execute a bash ...
  • 21
0 votes
1 answer
230 views

SSH randomly disconnects from 3A+

I've been experiencing SSH disconnects and freezes ever since I got my Raspberry Pi 3A+. I connect to the 3A+ from my Windows machine using SSH over WLAN, and after about 5 - 10 minutes it hangs or ...
  • 1
0 votes
1 answer
215 views

Raspberry Pi Zero W only accessible when connected to HDMI

I have a Raspberry Pi Zero W running Arch Linux ARM (Linux 5.10.59-1-ARCH), configured to connect to my local WiFi network. If I take the Pi, connect it to a display via a mini-HDMI adapter and apply ...
0 votes
0 answers
81 views

Trouble setting up SSH "Connection Timed out" on Headless RPI 4

I've decided to enter into the world of HomeLabs with the acquisition of an RPI 4. I went throught the procedure of setting up the RPI and everything worked correctly. I've used both a(n) dynamic/...
0 votes
0 answers
126 views

I recently installed the Remote-SSH VSCode extension, and I think it's causing my Pi to become unresponsive after random amounts of time

Background information: Previously, I used WinSCP+Putty to connect to my Pi on my home network, I do have it set up so I can remote in via SSH if I want to work on stuff from whatever location. I do ...
0 votes
0 answers
81 views

Cannot log in to ssh

I was editing my nano xstartup file to enable copy and paste over vnc. But after editing it, when I try to log in to my raspberry pi ssh it did not work. Instead, I got the following message: usage: ...
  • 101
0 votes
2 answers
162 views

Is it possible to have separate SSH keys for separate users

So let's say I have 2 accounts, pi and cloud. I want to be able to let people access the cloud account(which doesn't have sudo permissions) but I don't want them to access the pi account(which has ...
1 vote
1 answer
140 views

launch OmxPlayer from ssh in loop, will close when ssh disconnect

I'm quite new to raspberry, all I need to do is to play a video in loop from a local ssh connection. These are my step: start the Pi in Cli (so no x server but command line) with network open my ...
1 vote
1 answer
86 views

How do I change a system environment variable [closed]

I would like to the change the color of the directory listings in my SSH sessions on my Raspberry Pi. The blue color is very difficult to see on my 4K display. It appears I need to change the ...
0 votes
2 answers
164 views

Can't access my RPI 3 using SSH

I used to be able to SSH my RPI without difficulty but on resurrecting my PI and reinstalling Raspbian SSH does not work. I can ping the Pi OK. I have tried switching off VPN and avast but still no ...
1 vote
0 answers
85 views

Access remote `/dev/input/` on local machine

My robot needs to read input commands from a USB joystick which is physically connected to a remote desktop (Ubuntu). On desktop, the joystick is available for local user with permissions: crw-rw-r--+ ...
  • 51
0 votes
0 answers
112 views

Can Putty SSH to my rpi, but ios SSH client fails on my home network

I have a RPI 3B+. Everything is wifi connected to a modern Netgear 'Orbi' router. I can ssh to my rpi via putty client on my pc. No problem. I try to ssh via the 'termius' app on my iphone and it ...
0 votes
1 answer
447 views

Able to play audio on CLI but not on VNC when headless

I have a Raspberry Pi 4 8GB that I'm looking to use for ham radio applications. In particular, I'm currently working with an rtl-sdr dongle for software-defined radio. Right now I'm just working with ...
0 votes
0 answers
476 views

Can't ping or SSH into my pi after update

I'm running a headless Pi-Hole. Went ahead with update/upgrade using SSH from my windows machine, which stalled for about an hour. Couldn't connect via SSH anymore. Thinking it had finished, I ...
  • 1
0 votes
0 answers
419 views

ssh: connect to host ::1 port 22: Connection refused

I can't figure out why I can't connect to my Raspberry Pi using ssh over IPv6. I've modprobed the ipv6 module and modified /etc/sysctl.cfg to include net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf....
  • 1
0 votes
1 answer
182 views

Can only initiate ssh ethernet connection to Pi when PC is off WiFi

I can seemingly only connect to my Pi via an ethernet cable if I have temporarily disconnected from WiFi. Once I login, I can reconnect to Wifi, and I can talk to both my Pi and use the internet. ...
0 votes
3 answers
2k views

(Another) Cannot SSH to Raspberry Pi from Mac -- Port 22: Connection Refused

So, as the title states, I cannot SSH to a Raspberry Pi from my Mac. I have done so in the past, but can't figure out why it won't work now. Unless stated otherwise, all devices I mention below are ...
0 votes
0 answers
227 views

SSH connect problem via Wifi: I can connect on my Android (JuiceSSH), but cannot connect via CMD on windows

I have a Raspberry Pi Zero W which I have Raspberry Pi OS Lite as image. I have preconfigured Pi as headless with Wifi, and with SSH enabled. If I connect via JuiceSSH on my android phone, I get ...
  • 103
-1 votes
2 answers
153 views

SSH Timeout - Rasberry Pi OS Lite - Raspberry Pi Zero - New user

I set up a pi zero for the first time, flashing Rasberry Pi OS Lite to an 8GB microsd with an ssh and wpa_supplicant.conf file to quickly connect the device to my wifi. Worked fine for a few hours, ...
  • 101
0 votes
2 answers
82 views

Can't ping or ssh pi@mydevice.local, but can do it with pi@<ipaddress>

I can do ping 10.84.135.79 or ssh pi@10.84.135.79. But I'm unable to succeed with ping mydevice.local or ssh pi@mydevice.local. I'm on macOS, trying to ssh to a Raspberry Pi 4 Model B Rev 1.2. % ping ...
  • 101
0 votes
1 answer
215 views

RPI4 and 4G Dongle

I setup a 4G connection using below link viewtopic.php?t=302262 I have a ZTE MF820B dongle. When my home WIFI is on, I can ssh to the pi. But when I turn off the wifi and use only the ZTE usb dongle, ...
  • 1
0 votes
0 answers
388 views

connection to port 22 refused before asking for username/pword

I've added an empty ssh file to the /boot directory. When I run ssh pi@raspberrypi.local, I get this error: ssh: connect to host raspberrypi.local port 22: Connection refused without being asked for ...
0 votes
1 answer
181 views

Cannot SSH onto my PI using my domain name instead of IP

I have a domain name’s DNS configured with cloudflare that sets the A record to my public IP address (I’ve set DDNS so I can SSH onto my raspberry pi if my dynamic IP ever changes). However, for some ...
1 vote
0 answers
480 views

"cannot currently show desktop"

I was working on installing maven on my raspberry pi3b+ and when I rebooted it, it asked me to enter my password again. Upon entering the password a message pops up: Cannot currently show the desktop&...
-1 votes
1 answer
95 views

ssh remote commands hang on raspberry pi 3 but interactive works fine

I am trying to use ansible to configure a raspberry pi 3A+ with raspbian 10. It is only copying files into a directory. Each time I reinstall, it seems to work for a while, and then stop working. ...
0 votes
2 answers
309 views

OpenSSH does not start

I experience a problem with OpenSSH on my Raspberry Pi. SSH service does not start anymore. The following error occurs: $ sudo systemctl status ssh.service ssh.service - OpenBSD Secure Shell server ...
0 votes
1 answer
124 views

Unable to Set Up Pi Zero W headless - tried everything

I recently purchased a Raspberry Pi Zero W and have followed numerous tutorials on how to set it up headless, all without any success. I've tried turning it into a USB ethernet gadget rather than ...
0 votes
2 answers
141 views

Raspberry Pi 4 does not respond ssh

My setup is a RaspberryPi4 with SSD (Kingston 120GB) as boot drive. It has also a regular HDD connected to it. Both hard drives are connected to a USB dock via 3.0 USB. The dock has also a power ...
0 votes
1 answer
46 views

SSH - Can't connect from LAN after switching to another network

A couple of days ago I bought a new raspberry pi 4, for now, I don't have desktop support but I set it up in headless mode (installed raspbian on sd card). I was able to connect it using ssh when it ...
0 votes
0 answers
589 views

problem with chromium: cannot open display:: 0.0

I have a screen for raspberry pi (this one: http://www.lcdwiki.com/3.5inch_RPi_Display) to install the drivers for the screen I put (as said in the document below): sudo rm -rf LCD-show git clone ...
-2 votes
2 answers
89 views

SSH warning, Help

every time I turn on my raspberry I get this warning How can i fix this?
  • 11
-1 votes
1 answer
481 views

Using raspberry pi connected via USB network as host. What IP address is it running at?

I have set up a headless raspberry pi zero W to allow SSH via a USB connection. I now want to be able to host for example syncthing on the pi. Under which IP address should this be accessible? The ...
  • 1
0 votes
1 answer
627 views

Is there a way to add SSH public keys to the SD card image before booting?

For headless initial configuration, it is possible to add WiFi login details by adding a wpa_supplicant.conf file to the image boot partition. Is it possible to add SSH public keys in a similar way? ...
  • 103
0 votes
0 answers
253 views

SSH and VNC functionality stops working after a week or so

I'm running a raspberry pi 4 model B as a private server using raspbian. When I set it up and enable ssh and vnc functionality I can access it via both of those methods from other computers just fine. ...
  • 11
0 votes
0 answers
47 views

Raspberry pi3 - Cannot show desktop

After some updates on my RPI3 running openmediavault, I cannot vnc into the system. I have tried them all by changing any resolution, enabling vnc in the raspi-confing settings and even mv .Xauthority ...
0 votes
0 answers
124 views

Raspberry Pi wiping PW after reboot

So I recently invested in a raspberry pi 400 running up to date raspberry pi os. After numerous reboots whilst tinkering and setting up ssh/ vnc i followed the systems warning to change the default ...
0 votes
4 answers
968 views

Enabled firewall and rebooted. Now unable to SSH

In enabled my pi‘s firewall with ufw enable and rebooted the pi itself. Now I’m not able to login via ssh anymore. Since it’s a headless Raspbian, I can’t connect it to a display either. Is there ...
  • 9
3 votes
2 answers
472 views

Can't connect to Pi over SSH without rebooting it every day - Network Error: Connection timed out

Lately I haven't been able to connect to my Pi without rebooting it every day. After a reboot, I am able to connect to it for a few hours and then it starts giving the "Network error: Connection ...
0 votes
1 answer
341 views

Raspberry Pi doesn't connect via SSh

I am quite new to the Raspberry Pi and to get used to it I wanted to start a project with it. The first step is obviously to flash an image (I am using Raspberry Pi Lite since the recommended one is ...
  • 1
0 votes
1 answer
48 views

Send data to Mosquitto installed on Raspberry Pi

I'm really new here and I have a question about the Raspberry Pi 3B+. I developed a little IoT application. Basically I read values from a sensor and then send them on my broker topic via Mosquito. ...
17 votes
7 answers
45k views

How to disable "Wi-Fi is currently blocked by rfkill." message?

I do not want to see the following message when I login to my Pi (5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux): Wi-Fi is currently blocked by rfkill. Use raspi-config ...
0 votes
2 answers
486 views

Troubleshooting cron job to restart broken internet connection

I have a pi zero 1.3 running on an ethernet connection (using this hub hat). I am running it headless, so I can only access it via ssh. Every once in a while, the internet connection drops, and I have ...
0 votes
0 answers
324 views

Headless SSH without Wi-Fi setup

||| Hello there, noob question: I've acquired my first rpi (a Zero W) three days ago and made a headless setup. Currently, it works as a logging device. I really liked the prospect of logging into the ...
0 votes
3 answers
99 views

Why can't I find the local IP of my PI?

I tried the following command to find the local IP of my RPI: nmap -sP 192.168.1.1-254 But, the only IP I find is my PC. I know that my PI is at 192.168.1.6 which I can SSH into without any problem ...
  • 215

1 2
3
4 5
28