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
1answer
22 views

Trigger a python script from a remote machine without SSH and API — Need hints and ideas, no solutions [closed]

I do have a (probably) very basic question, which confuses me since hours. I´ve created a webapp with a NodeJS backend and ReactJS frontend. On one of these pages is a button. When the button is being ...
0
votes
1answer
36 views

How to execute a Python script on RPi remotely and receive data? [closed]

Question: I am trying to run a Python script remotely on my RPi from another python script on my computer. For now, I have created a local network on my RPi, that my computer can connect to. I tried ...
1
vote
1answer
535 views

Text editor for Raspbian Lite

I am using the Raspbian Lite image for the first time and realize there isn't any text editor. I am also using SSH to bring up the remote Raspberry Pi terminal on a LAN from a Windows 10 laptop. How ...
0
votes
1answer
16 views

Lauching feh from python script over remote connection (pi zero w)

hoping someone might be able to help a complete newbie here. I am connected to a terminal session in my pi zero via putty and Xming Server and have installed feh to inspect image files. so if I enter ...
0
votes
1answer
42 views

SSH Tunnel as proxy for hotspot?

I have a Raspberry Pi 3B+ that I'm using as a Wi-Fi hotspot. I have successfully gotten an access point running on one Wi-Fi USB chip, and using another Wi-Fi USB chip I connected to the public Wi-Fi. ...
0
votes
0answers
33 views

Can't SSH to my pi zero [closed]

I have my pi zero for a while now. And I made it so I can ssh to it with usb cable. I can ssh to it with my Windows 10 PC. But when i try to ssh to it with my linux laptop it won't connect. What can I ...
0
votes
0answers
35 views

can't stream audio from client to pi, connection refused

not sure if I should start a new question or ask in another section I followed the instructions here Running runeaudio (arch) on a rpi1 connected through ethernet to my router, ssh is working fine. I ...
0
votes
1answer
35 views

SSH turned off after first reboot?

I've just put the 20/8/2020 version of Buster (Raspberry Pi OS (32-bit) with desktop) onto a WD Pi-Drive with a Pi 3B+ hanging off. I added the ssh file to /boot and powered up fine. I ran terminus ...
0
votes
0answers
24 views

Check if Raspivid service is running?

I am creating a program the requires the following: Check if raspivid is currently running. Check if its running out of a services file. if it is running out of a specific file, determine which ...
0
votes
0answers
33 views

Can't connect to Raspberry Pi 4 through No-IP dynamic dns hostname, with ports forwarded

First off, I have my RPi4 on a static IP set from my router. I have configured No-IP DDNS which is compatible with my ISP's modem/router so it should be updated with the correct public IP, and have ...
1
vote
2answers
31 views

Modifying file on ext4 partition via boot

Back story: Since this might be a XY type of problem I'll briefly describe my original issue. I have a RPi 4, connected to my router via ethernet. I don't have a monitor and a keyboard so I can only ...
0
votes
1answer
17 views

open port problem

I try to open a port on my Raspberry with iptables But it dosn't work. I try to use ufw but it doesn't work to. Thanks for your help.
1
vote
0answers
89 views

Getting “has no 'x' member errors” for Rpi.GPIO using vscode remote ssh extension

I just set up my raspberry pi and have been using vscode (remote - ssh extension) on my windows computer to code on there but I have been getting errors like "Module 'RPi.GPIO' has no 'output' ...
2
votes
1answer
41 views

Display CLI program on HDMI connected monitor while connected via SSH

I'm have a monitor connected to my Pi via HDMI. There is no GUI OS installed, only the command line. I don't have a keyboard, so I'm SSHing into my Pi. I have a python script that displays some text. ...
1
vote
0answers
20 views

Is it possible to enter USB-C Gadget Mode using only dhcpcd?

I've been following tutorials like this one to make USB 'Gadget Mode' work on the Pi: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ However the other day I had an issue getting it ...
0
votes
1answer
26 views

USB Ethernet / RNDIS is working over my desktop computer but not from my android phone

After following some guides, I was able to get a USB SSH connection working from my Windows 10 computer into my Raspberry Pi 4. It won't work on my phone though, even though my phone is capable of ...
0
votes
1answer
55 views

SSH file in root did not enable SSH

What I did: Installed raspbian on my Pi3 and did touch ssh in boot folder before turning on the Pi and connecting the ethernet cable to my laptop's ethernet port. Went to Wired Connection > ...
0
votes
2answers
35 views

Passwordless git server ssh keys not working unless password is enabled?

I am trying to have a git server on my raspberry pi that is passwordless with only ssh key authetication. Sshing in with ssh key works fine, although when I try to push to a repository this is the ...
0
votes
2answers
44 views

Piping dd with pishrink and ssh to remotely create a shrunk backup image of a raspberry pi

I usually create remote backup image of my raspberrypi from my macbook by using: ssh pi@xx.x.x.xx "sudo dd if=/dev/mmcblk0 bs=1M” | pv | gzip - | dd of=/Users/USER/Downloads/pibackup.gz There ...
1
vote
1answer
74 views

Play sound on remote RPI using script executed by SSH

I have a python script that plays a .wav file on the speakers. from playsound import playsound playsound('a.wav') This works correctly if I execute the script on my local machine. However, if I push ...
-1
votes
1answer
34 views

unable to establish connection via ssh [closed]

I'm not able to connect to my raspberry pi via ssh likely after wrong password. What can I do to remove the administrator ban? Here is what it prompts: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
0answers
52 views

SSH not working with raspberry pi zero (non-W model) when using Ethernet Gadget

I tried nearly every guide out there to set up Ethernet Gadget. Pinging raspberrypi.local doesn't work: ssh: Could not resolve hostname raspberrypi.local: Name or service not known And yes, i do have ...
0
votes
1answer
50 views

Cannot access RPi server (node js) from a browser using hostname

I set hostname of my Raspberry Pi 3 to "myhost", avahi is running ok (systemctl confirmed, to run with myhost.local). From my Ubuntu WSL on Windows 10 I can ssh to the RPi with ssh pi@myhost ...
0
votes
0answers
12 views

Pis prints out error message and then ssh fails

I have been working on Pis through ssh and it is running an audio recording program and direction of arrival estimation program in real time. From time to time, I have noticed that a couple Pis would ...
1
vote
2answers
44 views

Trouble connecting to headless raspberry pi zero with VNC

I installed Raspbian on the Pi's SD card, and got the Pi Zero to successfully boot up and connect to my home network via Ethernet (I don't have the Pi Zero W, but instead the model without wifi). I ...
0
votes
0answers
106 views

SFTP very slow speeds and uses only single core

I've been having interesting problem. I have sftp server on raspberry (3b) and it was working fine (upload ~10Mb/s), then I've noticed it dropped to ~1Mb/s and stayed around that for 6 months. When ...
0
votes
2answers
165 views

How to change host name before first boot?

Is it possible to change the host name before the first boot? I've tried changing the name in /etc/hostname, but then the Pi doesn't boot properly. Is there something else that needs to be done? ...
0
votes
0answers
41 views

How to use RPi model 3B+ as Router with highest bandwidth? (VPN)

Basically, I'm trying to use my Pi as a VPN-Protected router and AP. I've tried RaspAp (hostapd with a web gui and some extra stuff) and hostapd by itself, but hostapd by itself wouldn't work with my ...
2
votes
2answers
75 views

Unable to access Pi over ethernet, but over Wifi-works

I've had my Raspberry pi 3 for a couple of years and everything has worked fine. A week ago I bought a new router + AP and the Pi could connect (through ethernet to my router as well as the Wifi) ...
0
votes
0answers
32 views

Pi Zero W headless issue

I’ve got a pi0W running headless. I’ve always been able to ssh without issue. I recently updated crontab to run a new script, but it appears the script failed to run (because it is supposed to ...
0
votes
1answer
57 views

Permission denied when try to connect with ssh to my pi but not with PuTTy

I know there are lots of topics like this, but I've tried everything and none have solved my problem. I'm trying to connect from my desktop to my pi with ssh but I get permission denied, please try ...
0
votes
1answer
33 views

Raspberry Pi 4B is not rebooting from SSH

I have a recently flashed SD card in my Raspberry Pi, I've just been through some setup and have found some errors with my SD card being in Read Only, I tried to reboot from SSH except the raspberry ...
1
vote
3answers
194 views

SSH “Connection Reset” immediately after Conncting

Ive been had my Raspberry pi 4 setup for awhile. Using it as a VPN, Plex, and basic Wordpress host. Ive been using SSH for awhile and its worked fine. Ive recently caused an issue where immidiatley ...
0
votes
1answer
60 views

Avahi / zeroconf address not working

I am having difficulty in ssh-ing into Raspberry Pis via their mDNS (avhai / zeroconf) .local host names. After reboot I can ssh into a pi as expected: $ ssh user@raspberrypi.local However after a ...
0
votes
0answers
38 views

Can the same SD card be used for Raspberry Pi Zero and Raspberry Pi 3A+ that is to be accessed wirelessly (SSH & wpa_supplicant)?

I wanted to use an older Raspbian 9 (Stretch) version of 2017/2018 because I wanted to use the "perf" tool which is not available for the current version. But the previous version was not ...
0
votes
1answer
245 views

SSH into Rasberry Pi 4 over USB (Ubuntu Core) [duplicate]

Is it possible to SSH connect via USB-C -> USB to Rasberry Pi 4 in Ubuntu? Like this
1
vote
2answers
59 views

Is there a better way to fix messed up wpa_supplicant and interfaces files on Windows?

Hello I am very new to Raspberry pi having got a Raspi 0 only a few days ago. The only way I know to access any of the code is by ssh-ing from my laptop into the pi, but it worked and I was very happy ...
1
vote
2answers
194 views

How to unlock password for Pi account

I wanted to control my Pi with my PC via ssh. In the tutorial they recommended making a new account and locking the Pi account(for security purposes). I followed these instructions: 1.)Make New Super ...
1
vote
2answers
232 views

what is the equivalent of scp for the serial console?

I am configuring my raspberry pi device of the serial console (like this https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/overview) How can I do the equivalent of scp? ...
0
votes
2answers
85 views

Use 24-bit color Emacs theme with Raspberry Pi over SSH

I am using Emacs on my Raspberry Pi (an RPi Zero W and RPi 4) through an SSH connection with the Blink terminal program on my iPad. Emacs seems to be limited to 256 colors, but the themes I am using (...
0
votes
1answer
64 views

Raspberry Pi Zero SSH issues

I recently bought a brand new Raspberry PI Zero W and flashes rasbian lite onto an SD card and tried to SSH into the pi. However, after adding in the ssh and the wifi details default files to the boot ...
0
votes
1answer
24 views

raspberry pi connected to wifi but not responding

I am following this tutorial to convert my rpi 4 into an access point. I followed all the steps except installing node, Go and resizing the image. After entering the credentials to my wifi in the ...
2
votes
1answer
264 views

Raspberry Pi ssh X11 Forwarding

I have a raspberry pi 4 (4gb) as my local machine and am trying to ssh in to an ubuntu laptop with X11 forwarding. I can connect just fine but I have the classic empty $DISPLAY variable and I'm not ...
0
votes
0answers
38 views

SSH tunnel immediately gets closed - systemd

I have made a systemd service called rtunnel.service. It should create a ssh tunnel as the pi boots up but it gets closed immediately. Can somebody explain whats my problem here. Please can somebody ...
0
votes
0answers
63 views

Encrypt whole root or home on Headless RPi zero

My question is, what possibilities are there to make your data secure on a headless Pi. I'm pretty sure that making it disk encrypted needs an interface also with home but I want to decrypt/unlock it ...
1
vote
0answers
45 views

Raspberry Pi 4 fails to reboot

I have a raspberry pi 4 running Ubuntu server 18.04. I usually SSH into it and reboot the system. However, I noticed that some times the pi does not successfully boot up again after shutdown so I have ...
0
votes
0answers
60 views

Raspberry Pi 3 B+ SSH Connection Refused After Plugging in SSD

I am currently setting up a low budget DIY NAS with a raspberry pi 3 B+ and a Samsung 860 QVO 1TB SSD. The pi is connected to my router and I have been able to ssh into it with no problems. I have ...
0
votes
0answers
27 views

Cannot connect to Kali RPI over wifi after disconnecting ethernet

I tried to look over the internet, youtube and on this website to fix this but no luck resolving. I have Kali on RPI version 2020.2b which I reinstalled for 3 times now because the answers that I ...
1
vote
0answers
83 views

Why can I SSH in to my Pi, but can't access the network from it?

I recently re-arranged my home office, which required unplugging my router and Raspberry Pi 3 (among other things). Despite changing nothing besides the ethernet cable, I am now encountering the ...
0
votes
1answer
71 views

Sudo nano problem [closed]

I run the command in the screen shot though ssh to my raspberry pi. All I get is a blank file. I know the file exists, and has code in it, but nano must've not understood me. Here is what I get when I ...

1
2 3 4 5
25