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 ...
27
votes
13answers
10k views

Is there a way to set up a Raspberry Pi without a keyboard, mouse, or SD card reader?

To keep myself entertained during the COVID-19 pandemic, I've bought a Raspberry Pi. I thought that it would be possible to program it from my laptop over SSH using an Ethernet connection, but I've ...
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 ...
4
votes
2answers
1k views

Can't access command line of Raspbian/Kodi on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
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.
0
votes
0answers
526 views

Setting a mode to a pin requires root permissions

I’m trying to change pin mode on RPI (with Raspbian) – it works when I invoke those commands sudo chown root.gpio /dev/gpiomem sudo chmod g+rw /dev/gpiomem but after every restart I have to execute ...
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
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. ...
1
vote
2answers
45 views

Web App on computer : Ssh connection to PI + script execution possible?

I'm sort of new with web app programming so sorry if it is obvious for you guys! I appreciate the time you take for me ! I tried to explain my problem the best I could in the title! :p I am building ...
2
votes
1answer
55 views

No color using windows SSH terminal on Pi4 [closed]

I have a Pi3 and PiZero. When I open up a Terminal window in Windows and SSH into the Pi4, the text is not color coded like on my Pi3 and PiZ. It appears that the .bashrc files are the same per a ...
1
vote
1answer
130 views

opencv installation

`I tried installing opencv on my raspi 3B using pip, on trying to import cv2 i am getting an error Edit: code lines: Successfully installed opencv-python-4.1.1.26 `(cv) pi@raspberrypi:~ $ workon cv ...
0
votes
1answer
175 views

“Could not resolve hostname” on Pi for local services

My Pi cannot resolve hostnames of other services in the same local network. Resolution of external services works fine. $ nslookup example.com Server: 127.0.0.1 Address: 127.0.0.1#53 Non-...
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
1answer
373 views

Ubuntu server : SSH by default (setup without monitor)

I need to setup a Raspberry Pi 4 without a Monitor, I want to run a light version without GUI just to run some docker, I though Ubuntu Server was a good idea. I try to add a SSH file on the microSD ...
0
votes
2answers
85 views

Why can I connect to my Raspberry Pi when I have internet sharing off, but not when it's on?

I have connected my raspberry pi via ethernet cable to my laptop, whose wifi connection I intend to use to allow the raspberry pi to connect to the internet. But when I turn on internet sharing I can'...
3
votes
3answers
7k views

Accessing raspberry pi remotely without static IP?

I have an pi connected to a machine, i can access the machine from a PC which is connected to the LAN, if i use my static IP i can access the machine from anywhere, but the problem is, An LAN with ...
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
2answers
78 views

Ethernet for SSH via Offline Router, WiFi Chip for Internet

So, here’s how it goes. I have an old Linksys router which I have my raspberry pi connected to via Ethernet. I SSH to it via my laptop or phone by connecting to my router via WiFi. I want to be able ...
2
votes
4answers
16k views

Filezilla won't access pi via SFTP (Times out)

This "Question" was asked by an unregistered user who hasn't been seen since. Don't waste your time and ours by answering. If you have enough reputation flag for closure. So I've been ...
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 ...
0
votes
1answer
147 views

Boot's cmdline.txt and config.txt files changed after install new package in rasbian at pi zero (USB OTG Connection)

I am using raspberry zero with USB OTG to my linux LMDE based this instruction , so when i install something like lcd 5inch driver, the files which changed in the boot's SD card folder. and the files ...
8
votes
3answers
21k views

Change/reset password WITHOUT monitor/keyboard

I forgot the password to my Pi, but don't have access to a compatible monitor/keyboard. I've seen methods like these but they all involve editing cmdline.txt and then booting with a monitor and ...
1
vote
2answers
1k views

Run tkinter gui on remote machine connected by SSH?

I would like to run a tkinter-generated GUI generated on a Raspberry Pi while connected via SSH on a Mac. I have tried several suggestions (e.g. https://stackoverflow.com/questions/37604289/tkinter-...
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 ...
1
vote
1answer
392 views

Raspberry Pi connecting to Wifi but not ethernet

I am trying to SSH into a Raspberry Pi 3B+ using ethernet, but it says: No route to Host. Pinging the IP doesn't work either, and raspberrypi.local doesn't seem to be resolved by mDNS. When I tried ...
-1
votes
2answers
2k views

Can't ping or connect to Raspberry Pi on same Wi-Fi network

I have a Raspberry Pi 3 web server connected to a Wi-Fi network and Windows 10 PC connected to that same network. From the PC, I cannot connect to the pi server or use SSH, however, if I connect the ...
1
vote
2answers
2k views

How to SSH (or remotely connect) into to the Pi 3 though its own Wi-fi?

The WiFi access is set up in my Pi 3-B using hostapd as shown in this link. I'm able to connect to it through WiFi, but don't know how to SSH into it. Previously, it was possible to connect to it ...
0
votes
1answer
63 views

raspberry pi home automation sphinx

Hello. I'm suffering from this problem. Had anyone here dealt with it before, if so please help me. I'm running out of the time. I already downloaded cont_ad.h to sphinxbase library but nothing has ...
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. ...
2
votes
1answer
54 views

SSH port won't change after config file edited

thanks in advance for reading/responding. I've taken to the internet and found several well written articles on HOW to change the standard SSH port from 22 to XXXXX. However after reading these ...
0
votes
1answer
63 views

VNC without pass from external internet

Problem I want to use raspberryPi's Chrome from my Mac in order to watch some videos. In order to do that, I am trying to make VNC connection. Condition raspberry pi and my Mac uses different ...
0
votes
1answer
51 views

SSH showing “connection failed” after installing “pip”

Python3, pip3 and python was installed before on my Raspberry Pi. Today I've successfully installed pip using below command: sudo apt-get install python-pip After few hours later I'm not able to ...
-1
votes
1answer
32 views

Re-establishing SSH without VNC, HDMI

My Raspi has suddenly stopped working with VNC viewer, HDMI, and SSH (which is enabled). Before this happened, I connected via SSH, and added the Raspi to my home network as well as VNC viewer. My ...
3
votes
1answer
574 views

How to start xorg on a physically connected display via SSH?

The pi is configured to start into text mode so that no xorg libraries are loaded during normal operation. Yet I would like to be able to occasionally run an xorg desktop session when connected to an ...
0
votes
1answer
32 views

Problems using OpenSSH to remotely Access Raspberry Pi

I have a static IP setup for the raspberry pi and have no problem connecting via ssh while on the local network. I have the OpenSSH server running on the raspberry pi(pi4 model B running rasbian) and ...
5
votes
2answers
1k views

How to get null passwords over SSH working on Raspbian?

I'm running the latest Raspbian image on a Model B. I attempted to create a null password by using passwd -d, blanking the password field for the user in /etc/shadow, and setting PermitEmptyPasswords ...
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' ...
0
votes
1answer
108 views

Can't always access my Raspberry Pi through PuTTY (SSH)

I recently bought a Raspberry Pi 3 Model B and started to set it up. I followed some tutorials and finally was able to access it remotely without having to plug it to a monitor, a keyboard, a mouse... ...
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 ...
-1
votes
3answers
199 views

Effect of Interfaces file on dhcpcd.conf in Raspbian Jessie

I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is ...
0
votes
1answer
99 views

Pi reachable from smartphone but not Windows

Today I installed Raspbian Stretch Lite once again on my Pi. After that I connected my Pi to the Internet using a WLAN USB adapter. I can ping, for example, Google but not my PC on my local network....
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
1answer
76 views

User friendly interface to network settings

Right now, my team plans to deliver configured Raspberry Pi machines to our clients' homes so we can ssh to them. The only problem is that we don't have their home Wi-Fi SSID and password until we get ...
1
vote
2answers
740 views

Not able to connect Raspberry to laptop

I'm trying to connect my laptop to my Raspberry PI with just a LAN cable and without a router because I don't have one. So I just configured a static IP in both the devices and tried to setup a ...
1
vote
1answer
196 views

Avahi listing pi without .local suffix

I have a number of raspberry pis that I swap out (only one running at a time). One responds to ssh pi@raspberrypi rather than ssh pi@raspberrypi.local like the rest. I have looked at how to change ...

1
2 3 4 5
25