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
3answers
45 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
32 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
vote
4answers
44 views

How to connect raspberry pi to separate wifi's

I have a headless pi setup and I want it to connect to two different wifi's at two separate houses. This is how my wpa_supplicant.conf is setup: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev ...
-1
votes
0answers
78 views

Pi Cluster Mining

I would like to cluster Pis, maybe overclock if needed (Any model works fine). What is the best way to get profit from mining? Any coin works as long as it has an exchange. My power costs: $0.04 kw/h ...
0
votes
2answers
50 views

SSH to multiple Raspberry PI 4B

I have 2 PI that are connected to my local network first PI has the IP: 192.168.1.48 and the second one 192.168.1.49 that I can SSH to them in my local network without a problem, however I opened a ...
0
votes
0answers
31 views

ssh on raspberry is not responsive

I am encountering an issue on my Raspberry Pi 3B+ where the ssh shell is insufferably sluggish, to the point that the connection can time out sometimes. I have installed the latest version of ...
1
vote
0answers
33 views

Can not see Pi Zero on my network

I can't seem to find anything on here already with the same case so I'll go ahead and ask. I am trying to connect to my pi via SSH, but I can not see the pi on the network. I have: Flashed the SD ...
0
votes
3answers
83 views

How to backup a Raspberry Pi over SSH?

I tried following: ssh <pi>@<ip> "sudo dd if=/dev/mmcblk0 bs=1M | gzip -" | dd of=~/Desktop/pibackup.gz sudo: no tty present and no askpass program specified 0+1 records in 0+1 ...
0
votes
1answer
27 views

Raspberry PI 3 port forwarding issue

I'm trying to port forward from PI to my local laptop : ~/tmp$ ssh -R "192.168.0.12:8000:localhost:8000" pi@192.168.0.12 pi:~/tmp$ netstat -an|grep 8000 tcp 0 0 127.0.0.1:8000 ...
0
votes
0answers
50 views

Windows 10 Setup on Pi Zero not working

I'm trying to set up a Raspberry Pi Zero (not a Zero W) with Raspberry Pi OS Lite (32-bit), headless through USB. I'm not great with computers (using CMD is a real headscratcher for me), to put this ...
0
votes
1answer
36 views

Port forwarding / tunnelling for web server

I've been looking for a tunneling service, but it seems like most information is outdated. I've been using portmap.io for a while, but they only provide tunneling for one port. The main requirements ...
0
votes
0answers
37 views

Raspberry doesn't show the desktop through VNC viewer

I'm trying to connect to my raspberry pi through VNC Viewer. It connects perfectly (it is connected to my router, and I'm able to connect both via VNC and SSH). The only issue that it appears is that ...
0
votes
2answers
36 views

Does terminating ssh connection, terminates the installation process too?

I’m running a raspberry pi 3b headless, thus I ssh into rpi from Mac terminal through Ethernet cable ip. I’m currently installing opencv but the terminal kinda not giving any response. If I close the ...
1
vote
2answers
90 views

Raspberry Pi 3 B insanely slow on basically all tasks

My Raspberry Pi 3 B is only connected via Ethernet to the network and running a couple of server tasks, among them an HTML web server (nginx PostgreSQL Typo3). This was working perfectly fine for ...
1
vote
2answers
98 views

USB SSH Connection refused/No route to host

I know this has been asked before but I can't find a solution that works for me so I'm going to try asking again. I'm using a Pi Zero W headless and trying to SSH into it from my Ubuntu 18.04 machine ...
1
vote
0answers
42 views

Website behind Firewall: How to SSL through a Reverse SSH Tunnel?

I have a website (Apache) hosted on my RasPi behind the apartment's firewall. A reverse SSH tunnel is established between the RasPi and a cloud server outside for port forwarding. The site's domain ...
1
vote
1answer
30 views

SSH to raspberry pi fails with Operation timed out error

I have suddenly lost the ability to ssh into my raspberry pi. the connection attempt hangs for sometime and eventually returns a "Operation timed out error". SSH access is enabled on the Pi. ...
0
votes
1answer
92 views

SSH won't connect on cloned disk

I'm working with a headless pi4b and can't remotely connect to it via user pi by SHH when using a cloned SSH of a microSD that performs this fine. Pi boots with slightly different output and I'm ...
0
votes
1answer
17 views

Unable to get IP address of Raspberry pi to give remote desktop connection

I am trying to give my Raspberry pi 3 B+ remote access using my windows laptop. I have connected raspberry using a ethernet cable and gave wifi connection to laptop. Then I tried making a bridge ...
2
votes
2answers
84 views

How to develop for raspberry pi without actually owning one

I need to run a low level code (thread protected circular buffer written in rust without using environment provided tools like mutexes nor semaphores...) on ARM based processors. The teacher was ...
0
votes
0answers
35 views

Lag while ssh from remote machine

I have putty ssh client which runs on Windows 10 connected to my Raspberry Pi 4 with 8Gb RAM machine. I'm experiencing lag while working with terminal. For example if I type ls command it might take 1 ...
-1
votes
1answer
75 views

Cannot Ping/ ssh over wifi

I have read several forums and have tried many solutions. I have a new raspberry pi 3 B+. Up to this point I have connected an ethernet cable to remote into my RPi. Now I am trying to use wifi and it ...
0
votes
4answers
149 views

Can't add SSH file to SD Card

Yesterday I got a raspberry pi4 together with a micro SD Card which is preloaded with Raspberry PI OS (32-bit). I don't have a separate keyboard or mouse but I do have a laptop (a Mac) and so I ...
0
votes
1answer
45 views

Is there anyway I can enable ssh without access to the console?

So i have installed Arch on my raspberry pi but the ssh isn't enabled because port 22 seems to be closed. Is there anyway I can enable it without access to the console?
0
votes
0answers
19 views

Using phone microphone as audio input through USB?

I have a program that broadcasts and FM radio signal, and there is an option using this command to allow direct audio streaming: arecord -D hw:1,0 -c1 -d 0 -r 22050 -f S16_LE | sudo ./fm_transmitter -...
0
votes
1answer
52 views

Permission denied (publickey) - New computer, old key

The situation is the following: I have a raspberry pi, with authentication off, and a ssh key with passphrase. The computer where I generated the ssh key doesn't work anymore, but I have backups of ...
0
votes
2answers
93 views

How would I send files to Raspberry Pi through bluetooth without touching the Pi?

I want to be able to send code files to my Raspberry Pi Zero W from my Mac or Android phone, without needing to go do anything on the Pi itself. I was able to pair and connect to my devices with ...
0
votes
2answers
28 views

ssh shuts down when screen turns off

I have ssh running on boot, on my raspberry PI, it works fine, until the screen shuts off, or it goes into a sleep mode, or whatever its doing. Then ssh becomes unresponsive, and I cannot establish ...
0
votes
3answers
309 views

Couldn't ssh to my Raspberry Pi - “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!”

It's not the first time that I am trying to ssh to my Raspberry Pi... I just removed the SD card and installed a new OS on it, enabled SSH, changed password, and connected it to Wi-Fi. I checked that ...
0
votes
0answers
37 views

Starting X applications over ssh on the local monitor

If I have a Pi with monitor connected but no keyboard or mouse how can I remote in to the Pi over the net with ssh to start applications running on the attached monitor. In particular, I have a hq ...
3
votes
2answers
103 views

how to find the SSH port data?

I have not used my RPi for a while and forgot the SSH parameters. I am positive the SSH is enabled, it used to work and I have not changed anything. Is there a way to "scan" for RPi SSH from ...
0
votes
1answer
107 views

QEMU 5.1, rpi2b, (Arch) and ssh. SSH fails

EDIT: I significantly updated this after applying @Nikita Kipriyanov's answer. As of version 5.1 or 5.01 QEMU now supports RPI2 & 3 and USB. As the network on the RPI is behind USB, I should now ...
1
vote
0answers
75 views

Cannot SSH or use VNC (but can ping) [closed]

I can't seem to SSH or connect using VNC viewer from my desktop PC to my pi 4 on raspbian, but I can ping it and connect to it on my other devices connected to my home network. Although unlike other ...
0
votes
0answers
43 views

Running framebuffer application over ssh with display on TFT

I've got a RPi 2 running Raspi OS 2020-12-02 with Adafruit 3.5" TFT display - the display is configured correctly and displays console messages and as well can display images, for example when I ...
3
votes
2answers
55 views

How to set PATH that will be used via ssh

Using ssh between 2 Pi's, I need to alter the path that is seen within ssh. If I read the path locally I see pi@pi-test:~ $ echo $PATH /home/pi/.guix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/...
1
vote
4answers
118 views

Edit file that requires sudo permissions from SSH client

I need to edit /boot/config.txt file from WinScp ssh client. In order to make changes in file I need root permissions for my login. As default pi does not have such permission and I don't have console ...
1
vote
2answers
38 views

Can't access other devices over network, only via router unit

I recently set up my Raspberry Pi to act as a router. All is working well when it comes to connected devices accessing the internet. The problem is that my computers don't seem to be allowed/capable ...
1
vote
2answers
94 views

Raspberry pi gets disconnected everytime I try to update it

I have new Raspberry Pi 4. I am accessing it through SSH, ethernet cable to my laptop and VNC viewer to see the screen as I do not have spare screen. Whenever I try to update the Raspberry pi, it ...
0
votes
1answer
40 views

Can I SSH even if I am to connect my Raspberry Pi 4B with a 3.5 inch TFT display

This is kind of a stupid newbie question but once I have my display up and running and I'll be displaying the stats of my system on it alongside stats from Pi-Hole. Will I be able to use SSh from my ...
1
vote
1answer
153 views

Python pygame program won't run through SSH / Remote Desktop

I've been working on my own object recognition program based on the rpi-vision test program pitft_labeled_output.py (from this webpage). It's basically a custom neural network model and a bit modified ...
0
votes
1answer
306 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
609 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 ...
1
vote
1answer
50 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
50 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
47 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
87 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
32 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
84 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
54 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
45 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
2 3 4 5
25