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
0answers
16 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: ...
0
votes
0answers
22 views

How do you avoid getting Connection Reset by Peer after not ssh'ing to the raspberry pi

I don't get this error when I ssh to the pi first time but after a while this error has come up and the only way to fix it is to reset my raspberry pi and that's too much of a hassle. I have tried ...
0
votes
0answers
15 views

How to troubleshoot Raspberry Pi 3B that gets random mini freezes

I have a Raspberry Pi 3B with Dietpi as the OS which is connected via ethernet and using the official power supply. I have this Raspberry Pi from quite some time ago, and I noticed recently that ...
0
votes
0answers
9 views

ssh to net booted raspberry pi 4

I have tried to net boot raspberry pi from another raspberry pi, But not getting clue, how can I ssh to newly booted raspB. I tried to add ssh file (empty file) in the boot partition (inside /tftpboot ...
-1
votes
0answers
16 views

curl sftp on an old Pi running Jessie: curl: (2) Failure establishing ssh session

I'm trying get rid of all my .netrc files by setting up curl to use public key authentication. This involves three Pi 4s running Buster and one old Pi running Jessie. I have no problems with the new ...
0
votes
2answers
27 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 ...
0
votes
0answers
15 views

Why hidraw device is printing to STDOUT on desktop but not on raspberry pi?

We have a QR scanner from ZKTECO (QR50BE), when plugged into my desktop (ubuntu), it works as intended, scanning a qr code prints the code to where ever my cursor is on my desktop, like a keyboard. We ...
1
vote
1answer
22 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
1answer
39 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
2answers
39 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
0answers
18 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--+ ...
0
votes
0answers
25 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 ...
1
vote
1answer
26 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 ...
1
vote
0answers
27 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 ...
0
votes
0answers
23 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....
0
votes
1answer
22 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
2answers
54 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
0answers
28 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 ...
1
vote
2answers
62 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, ...
1
vote
2answers
37 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 ...
0
votes
2answers
40 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, ...
0
votes
0answers
38 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
1answer
42 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 ...
0
votes
0answers
19 views

Garbled Characters on SSH

I am using a RPI3 for my project, sometimes the device stops working (e.g web server stops responding, or some other functions stop working correctly) and when I try to check the problem by SSHing to ...
1
vote
0answers
96 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&...
0
votes
1answer
19 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
2answers
64 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
1answer
53 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
2answers
38 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
1answer
32 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
0answers
61 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
2answers
47 views

SSH warning, Help

every time I turn on my raspberry I get this warning How can i fix this?
0
votes
1answer
36 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 ...
0
votes
1answer
35 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? ...
0
votes
0answers
35 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. ...
0
votes
0answers
19 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
0answers
31 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
2answers
76 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 ...
2
votes
2answers
83 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
0answers
55 views

wpa_supplicant.conf not working, raspberry pi zero w headless setup not working

I'm new to Raspberry Pi's and just bought my first one, a Raspberry Pi Zero W. However, I've had a few problems setting it up headlessly. I first downloaded an image of Sticky-Finger's Kali-Pi (https:/...
0
votes
1answer
43 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 ...
0
votes
1answer
25 views

Send data to mosquitto installed on raspberry

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 mosquitto. ...
3
votes
4answers
3k 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
2answers
83 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
0answers
73 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
3answers
68 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 ...
0
votes
0answers
24 views

Getting an error only when trying to run kivy GUI from remote terminal

I'm testing some Kivy stuff to see how it works, and I want to edit and run the Kivy app remotely (using putty). I'm on Raspbian GNU/Linux 10 (buster) For simplicity's sake, here is the code I am ...
0
votes
1answer
49 views

How to SSH into a Pi outdoors

Pi newbie here, please kick me in the right direction if this is a repeat question, I'm unsure of the correct terminology for what I'm trying to achieve. Right, so I'm beginning my RPi learning, I'm ...
0
votes
3answers
190 views

How to get access via ssh as root - with public/private key

I don't understand why I get no access for root on my Raspberry Pi 4 while trying to use key-based authentification via ssh. So far I generated a public/private rsa keypair using PuTTYgen: I saved ...
0
votes
3answers
60 views

Switching from desktop to lite, but with SSH

I plan on switching from Desktop to Lite sense I basically only ever use my Pi 4 over SSH. I know how to switch the OS by reimaging the SD card, but it would be much more convenient for me to do it ...

1
2 3 4 5
26