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
5 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
25 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
38 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
37 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
votes
0answers
26 views

Can't ssh anymore to my raspberry pi 4 [closed]

Here is the situation, I tried following this tutorial https://medium.com/@huobur/how-to-setup-wifi-on-raspberry-pi-4-with-ubuntu-20-04-lts-64-bit-arm-server-ceb02303e49b to connect to wifi via CLI, ...
1
vote
2answers
74 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
166 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
45 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
41 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
21 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
61 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
27 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
22 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
29 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
41 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
24 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
77 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
60 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 ...
0
votes
0answers
12 views

Forward camera commands through raspberry pi to camera

I have a raspberry pi with raspbian installed on it. I have a camera, which I wish to control from a Windows PC as the software seems to only run on windows. But the problem is I will not be able to ...
0
votes
0answers
35 views

Python ide for remote debugging/coding on Raspberry pi 4

Is there any Python Ide available from which we can remotely connect to pi (using ssh) and can write python script or debug from windows. I have already done this using eclipse here but this ...
0
votes
0answers
39 views

Editing files on Raspberry PI over ssh and with root privileges

Setup: local machine has PopOS 20 (based on Ubuntu 20), remote server is running Raspbian Stretch. I have been editing files on the remote server from the terminal, over ssh and with nano, but I'm ...
0
votes
0answers
41 views

Some devices unable to ssh into Pi

I am facing a weird issue, not sure if anyone else has come across something like this before. I have two Raspberry Pi 4Bs with Raspberry Pi OS installed. I can't ssh into them using my laptop for ...
0
votes
1answer
29 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 ...
2
votes
1answer
38 views

No color using windows SSH terminal on Pi4

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
2answers
35 views

SSH on boot via rc.local

I am trying to ssh into a server on boot. I have written a simple bash script to perform this action. The script works fine if I run it from the command line, issue is with rc.local. The script /home/...
0
votes
1answer
27 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 ...
0
votes
0answers
47 views

SSH over internet on pi 4(connectivity using RF modem )

Sorry if I am asking a silly question as this is all new for me also read many questions here but bot find appropriate one that ans my problem Problem: I want access pi from another network over ...
1
vote
2answers
86 views

SSH - Not able to ssh from my laptop to raspberry after rebooting the pi

Greetings to the community! I am struggling establishing an ssh connection from laptop (Windows 10) to my pi connected to it through an Ethernet cable (raspberry pi 3 model B+). The process I am ...
0
votes
1answer
38 views

How to pre-configure raspbian for ssh key-only access?

I would like to place an SSH public key somewhere onto /boot/ on my Raspbian buster image on SD card, and require SSH access via keys instead of via username and password. I've added the "ssh.txt" ...
0
votes
0answers
18 views

Trouble setting up SSH via ethernet

As the title suggests im trying to set up SSH access to my pi 3 B+ and running into a few issues. pc running Ubuntu 19.10 is plugged into RPi however no connection is being made, thus i cant set up ...
1
vote
1answer
34 views

SFTP Match multiple Users

I was trying to configure SFTP to a list of users, so I thought of creating a few blocks of "Match User" at "/etc/ssh/sshd_config" file. Something like this: # User A, B Match User usera,userb ...
1
vote
2answers
33 views

SSH stopped working after format error

I was working fine with my Raspberry Pi 3 B+ rocking the Raspbian OS for about a week now. I could ssh in everyday and even installed Plex and streamed some movies. Today however, after I got a new ...
0
votes
0answers
21 views

Can SSH or ping only with Wi-fi not with ethernet on same local network

I have two Rpi connected to my router via ethernet My desktop is also connected to the router via ethernet I can ssh when connected to my router with wifi from my laptop Problem: Cannot ssh from ...
0
votes
2answers
42 views

If I connect to my Pi via SSH and install a python package using pip, will it continue to install if I end the SSH connection?

I'm currently trying to install pandas on my raspberry pi, which I've connected to using an SSH connection, using pip. This is taking a long time, and my laptop has gone to sleep (ending the ssh ...
0
votes
1answer
24 views

RPI 3B+ refuses ssh and VNC connection

I have a Rpi 3B+ that I set up yesterday to work with Kodi as a media center through a WiFi connection. The only problem is that yesterday I could connect via VNC and ssh to the Rpi, and today I can't....
1
vote
1answer
46 views

Putty SSH, can't log into Raspberry

Heyo, I use my raspberry pi zero as an rgb strip controller behind my desk, I have a simple http/php server running on it so I can change the color from my web browser, it is powered by a phone ...
2
votes
1answer
36 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 ...
2
votes
2answers
133 views

Should I expect connecting to wifi to stay the same while swapping a microsd card between a Pi 2 and a Pi 4?

I'm trying to get my pi4 to ssh, and since I don't have a micro HDMI to HDMI cable using a display isn't an option. I've tried a few different ways but I recently tried to get it to work by setting ...
-1
votes
3answers
415 views

Raspbian ssh: kex_exchange_identification: read: Connection reset by peer

Just copied over a fresh image of raspbian buster lite with an additional ssh file in the boot partition. When trying ssh though I'm running into troubles: ssh raspberrypi The authenticity of host '...
0
votes
0answers
16 views

rpi3b+ not showing on local network devices list

Problem Cannot ssh into Pi connected within local network. Details Raspberry Pi 3B+ with fresh install of Raspbian Buster. (freshly installed as an attempt to fix said problem) Connected and ...
-1
votes
1answer
28 views

Can ssh via Wifi but not via Ethernet, Pi 4 with Kali Linux

I have a Raspberry Pi 4 running Kali Linux. I succeeded to ssh to the Pi via Wifi, but I failed when trying to ssh via Ethernet. Here is what I did (trying to ssh via Ethernet): connect Ethernet ...
0
votes
0answers
32 views

Give PI Zero with raspbian ,which is connected through usb, a static IP

I am trying to give my pi zero a static IP. The pi zero is connected via a single USB connection into my PC. The reason why I want this is because I want to create a server-client program (Server runs ...
1
vote
0answers
30 views

Getting PC hardware info through pi zero

I am trying to get some info about the hardware on my PC through my pi zero for example CPU temperature and RAM speed etc. I have connected my pi zero through a single usb cable into my PC (I am able ...
24
votes
13answers
9k 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 ...
1
vote
0answers
54 views

Why does SSH on Raspberry disconnects when USB 3.0 is connected?

Hardware: Raspberry PI 4B. Connected to the Chinese adapter 5V - 3A. OS: Ubuntu 19.10 (GNU / Linux 5.3.0-1022-raspi2 aarch64). The situation is this: when I connected to the raspberry over SSH, I ...
1
vote
2answers
313 views

Can't Connect to Pi: “ssh_exchange_identification: read: Connection reset by peer”?

I suddenly can't connect to my Raspberry Pi from my laptop. In Terminal, I try to access with the command ssh pi@192.168.XX.XXX and I get this message: ssh_exchange_identification: read: Connection ...
0
votes
1answer
29 views

Can't find RPi3B+ Ip-address, can't ping or ssh into it (BUT works with mobile hotspot)

I am able to ssh into the Raspberry with an ethernet cable from RPi to router. I am also able to use my mobile as a hotspot and find the RPis ip and ssh into it! But it does not work if I try to use ...
2
votes
0answers
55 views

Unable to connect SSH between two Raspberries over Internet

I have a raspberry at home with SSH server, RSA keys configured and port 22 open on the router. I have another Raspberry Pi (client), with which I can connect to my house ONLY by LAN (with ssh from ...
2
votes
1answer
522 views

What causes Raspberry Pi to reliably drop SSH connections: `client_loop: send disconnect: Broken pipe`

The Issue: SSH connections from a Macbook (Catalina - the SSH Client) to an RPi 4B (Buster, Linux v 4.19.97-v7l+ - the SSH Server) are reliably dropped at random times, but SSH connections from the ...
1
vote
2answers
91 views

Raspicast is unable to connect using an SSH key file

I have installed Raspicast on my Android smartphone and tried to connect to the Raspberry using a key file. I have tried both the Linux SSH key format (id_rsa file) and Putty key format (*.ppk file), ...

1
2 3 4 5
24