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

Raspberry Pi Zero USB Ethernet gadget reconnection problem

I connected Pi Zero as a USB Ethernet gadget to a Windows 10 PC. The Pi Zero is powered by a 5V DC adapter. Then, I login to Pi Zero through it's hostname raspberrypi.local and SSH into it. Actually, ...
0
votes
1answer
47 views

SSH to/from Raspberry PI to/from ubuntu machine

I have configured SSH on my Raspberry Pi 4 to only accept public-private key authentication. I am successfully able to SSH from a Window's 11 machine to the Pi. First thing that I did was create an ...
0
votes
0answers
15 views

Reason for default keys in /etc/ssh

I just wanted to make a basic image for all my new RPis and I deleted the basic keys in /etc/ssh/ because I thought those are like "example" keys for the first usage. After the deletion I ...
0
votes
1answer
26 views

Raspberry pi ssh connect to remote server

I have a remote cloud server (accessible only through ssh), with preexisting private and public keys, and I want to connect to it with my raspberry pi 3. I have already moved the private key over to ...
0
votes
0answers
24 views

Connection time-out when SSHing, but only on a certain network

I'm a student who recently got a RPi Model 4B to learn more about computers and programming, and I had a connection time-out issue with SSH that only seemed to happen on my network. With some help ...
0
votes
2answers
44 views

How to make headless Raspberry Pi automatically perform a command over ssh?

I have a headless Raspberry Pi accessed from my Mac over WiFi. However, whenever I lose the connection, it stops doing whatever I'm having it do; is there a way to make the Pi do a command on its own, ...
0
votes
0answers
32 views

Setting up a wifi access point using an external wifi adapter

Im trying to set up my RPi model 4 b 2Gb to act as an access point. Im using the built in chip in monitor mode using nexmon_csi library. The library is tested and working fine. When I plug in the new ...
1
vote
1answer
36 views

Install aquarea2mqtt on Raspberry Pi

Im new on Linux/Raspberry Pi and I have some problem with installing program from a file. Can You help me with that? I need this project implemented in my Home Assistant (to view my heat pomp) https://...
0
votes
0answers
23 views

Setup Btrfs RAID1 with LUKs encryption and remote unlocking via SSH with Dropbear

I can successfully boot a Btrfs RAID1 Pi4 on two SSD's by following these steps. I intend to upgrade it to use system encryption, and be able to unlock it at boot via a dropbear console; I don't need ...
0
votes
2answers
26 views

Is it possible to write to file located in windows directory using Node-Red via ssh?

I log into my raspberry pi via ssh. I am trying to read and write to a file located in my C drive using Node-Red. However when I deploy the Node-red task, the file that I amend is not located in the C ...
0
votes
1answer
26 views

Permission Denied on SSH, but can VNC with same credentials

I have a raspberry pi on my network and have ssh'd into for over a year now nearly on a daily basis. I have VNC setup as well which I use about once a week. Suddenly today I can no longer SSH in. I ...
0
votes
0answers
30 views

raspberry 4 ssh not working for me

I just bought raspberry 4 B, i am using kingstone 128gb sd card and stickyfingers (kali linux) as OS. I am trying to do headless ssh setup but it doesnt work. I tryied to put ethernet cable to it but ...
1
vote
1answer
45 views

Reverse ssh tunnel stops working after a few hours

I have a Raspberry Pi Zero W (PiZeroW-1, Raspbian Buster)on a local network behind a 4G router with CGNat. To be able to communicate with it from elsewhere I have setup a reverse ssh tunnel that is ...
0
votes
0answers
23 views

Accessing RPi through SSH when its connected to Tello in wpa_supp.conf

I'm using Raspberrypi Zero W V1.3, DJI Tello, Raspberrypi is connected to Tello via /etc/wpa_supplicant/wpa_supplicant.conf, This is mandatory because I want the tello to receive commands from RPI in ...
0
votes
0answers
41 views

ssh raspberrypi.local works but ping does not work

ping raspberrypi.local ping: cannot resolve raspberrypi.local: Unknown host But ssh pi@raspberrypi.local works. I can ping by ip address.
1
vote
0answers
54 views

VLC doesn't show video when opened from SSH

My VLC isn't displaying the video stream when I open it in an SSH session. The audio works fine, but video doesn't. The video does work under the following circumstances: Opening vlc using the mouse ...
0
votes
1answer
20 views

Opening web-page in CLI

I have a Gmail API running in a docker container on raspberry pi. I only access the pi through an SSH session via terminal. It needs to authenticate me as a user. This requires that I go to a ...
-1
votes
2answers
46 views

Can't log in through ssh after running "sudo passwd -d pi"

I'm running Raspbian Buster Lite on a board that I normally only access over SSH. The default login is pi/raspberry. I wanted to clear the password for convenience so I logged in and ran "sudo ...
0
votes
0answers
36 views

Failing to connect to Pi Zero W using headless SSH (USB Connection)

I'm trying (and failing repeatedly) to connect to a Pi Zero W using SSH over a USB connection. I know this question has been asked before, but trying the solutions brought up in those threads has ...
0
votes
0answers
86 views

Debian bullseye: ssh service cannot start on boot "Address already in use"

I'm using debian tested images on Raspberry Pi 4. After installing ssh service with apt-get install ssh, i'm fancing the following issue: the service failed to start on boot only: -- Boot ...
0
votes
0answers
64 views

ssh connections not working on pi

I have an sshd server running on a Raspberry Pi (Raspbian 10), which has worked pretty flawlessly for over a year, but has suddenly started acting up in the last few weeks. I'll attempt a connection, ...
0
votes
1answer
47 views

Cannot ssh into Raspberry Pi after halt

So i was doing my things when my dad connected to the wrong Pi and halted it now when we boot it up ssh: connect to host 192.168.1.141 port 22: Connection timed out Even after checking the router the ...
8
votes
4answers
3k views

How can I most easily SSH into a single computer when I change the SD card?

I've gotten my first Raspberry Pi to experiment with. While I learn about it, I'm also experimenting with different OSes, specifically the default with the GUI and the Lite without. I've got them both ...
2
votes
1answer
40 views

GUI password prompt replacement for gksu won't work via SSH

Since gksu has been deprecated, I'm using the following script which emulates it using pkexec: #!/bin/bash PKEXEC_USER="root" while [[ $# -gt 0 ]]; do key="$1" case $key in ...
0
votes
1answer
38 views

Unable to ping or ssh into Raspberry Pi zero w from a Windows 8.1 PC but could successfully ping & ssh into it via a Windows 10 PC on the same network

I have a Pi Zero w. it has been set up with a standard rasbpian imager and OS and latest files off the OEM website. the boot drive also has an ssh file and a wpa_supplicant.conf file with necessary ...
-1
votes
1answer
14 views

Internet access with X forwarded session over ssh

Having trouble getting internet access in my X forwarded session. Anyone have thoughts? When I try to connect the host to wifi, it appears to run through the connection process... and connect? But the ...
-1
votes
1answer
22 views

Custom appearance with X forwarding over ssh

seeking a way to make my X forwarded session look exactly like how I have my raspbian desktop appearance on my remote host. When I currently run ssh -XY ***.***.*.*** lxsession I get a default LXDE ...
0
votes
1answer
45 views

Redirecting serial port

I have a Raspberry Pi for which I wrote a program that reads and writes to the GPIO serial port (/dev/ttyS0) I need to run a set of unit tests on the device, sending several commands and reading what ...
1
vote
1answer
134 views

Problems in setting up qBittorrent with web UI

I am using RPi 4 Rev B in headless mode(without display, using ssh to connect to the machine). I want to run qBittorrent on startup on this machine and control it with other machine using web UI. ...
0
votes
0answers
20 views

Launch chromium-browser on Pi over SSH with DISPLAY=:0 (HDMI monitor connected to Pi) results in segmentation fault

I've really been struggling to get a web browser popped up on my Raspberry Pi via SSH. I DO NOT wish to send the X window from the Pi to my PC, I simply want to pop it up on the Raspberry Pi's TV ...
1
vote
3answers
120 views

How to enable ssh semi-headless (I have a keyboard but no monitor)

Raspberry Pi 400 just arrived, very excited! I can connect it to my laptop via direct Ethernet and ping it. Unfortunately, the monitor won't be here for a while... and I'm eager to get going. All I ...
0
votes
1answer
68 views

RPi Connects To iPhone hotspot, but Termius cannot ssh into RPi (Ubuntu 20.04 64-bit Server)

I would like to be able to ssh into my RPi3B+ based robot (running Ubuntu 20.04 64-bit Server) when away from my home WiFi. I have configured the bot to recognize either my home network or my iPhone ...
0
votes
1answer
35 views

Is it possible to have console/SSH-like communication between 2 RPis/RPi and Linux machine using RF transceivers?

I am currently working on a project where a Raspberry Pi will be used to run an nmap scan on a (purpose built) wireless network, and then attempt to exploit vulnerabilities found on the network. The ...
0
votes
1answer
27 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
1answer
68 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 ...
0
votes
0answers
51 views

raspberrypi.local on putty not working for raspberry pi Zero 1.3

I followed the following steps to set up my sd card to make a raspberrypi zero W connect via usb cable. Initially I always received the error message "Unable to open connection to raspberrypi....
0
votes
0answers
37 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
0answers
26 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 ...
0
votes
1answer
39 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 ...
-1
votes
1answer
21 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
2answers
75 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 ...
0
votes
1answer
94 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 ...
0
votes
0answers
18 views

How to setup a temporary routed connection from a Raspi client, through a Raspi AP server, to the internet?

I have an application where I have remote headless RP clients with a network connection to a RP Wifi Access Point server, also remote and headless. The server has a network connection to the ...
0
votes
1answer
130 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
0answers
40 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
0answers
34 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
0answers
23 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
23 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
20 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
11 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
2 3 4 5
27