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
2
votes
1answer
208 views

Control Pi Zero using Ethernet over USB using Raspberry Pi (3 or 4)

I have been working on a project that uses Pi Zeros as remote cameras. Recently, I have an application that requires them to be hardwired, so I have been experimenting with the Ethernet over USB ...
3
votes
1answer
292 views

RPi 3B+ stops responding to SSH and crashes

I've got a Raspberry Pi 3B+ running Raspbian Stretch that I've been using successfully for months to run my Home Assistant instance. I've been connecting to it using SSH and it's always worked fine. A ...
1
vote
1answer
62 views

Raspberry PI random connection interruptions

i am running a raspberry pi B+ headless and losing network connection irregulary. I am living with that since a few years, but now want to fix the problem. What would be a good approach to find out ...
1
vote
1answer
55 views

Not accepting any new connections. Raspberry pi zero W

I am new to Stackexchange. I have been working on monitoring service(python based) on RPi Zero W and edited the /etc/rc.local file to execute the program during the startup. The program works ...
1
vote
2answers
327 views

WiFi network disappeared?

I set up my RasPi 4 as a WiFi Access Point according to this guide, and it worked - I could see the SSID in the list of networks, and join the WiFi network, and connect using ssh, but only for a brief,...
0
votes
5answers
770 views

Router can't find my Pi

I have a brand new raspberry pi 4, with official power supply. Brand new SD card, just installed the latest Raspbian on it using UNetBootIn on my main linux (Mint 19) machine. As the display ...
1
vote
1answer
129 views

assigning static ip on intial boot to raspbian

I know we can have raspbian connect to local wifi if we copy wpa_supplicant file to location were boot.txt is in sd card, and even enable ssh by copying ssh file to the same location, but how can we ...
0
votes
1answer
47 views

3B+ Not Booting

I've had my Raspberry Pi 3B+ for a while now (a couple of months, maybe) and it has always booted just fine, up until this week. I was using the RPi to host my Discord Bot, but now it doesn't seem to ...
1
vote
1answer
83 views

Rasberry Pi SSH Freezing over ethernet

I have a number of Raspberry Pi Model 3 B+'s and they all have the same problem with SSH, when i connect it will randomly freeze. Sometimes this happens after a few seconds but occasionally i'll get a ...
4
votes
2answers
194 views

How an I improve sshd latency over WiFi?

I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network. What I'm seeing is that the character latency is very high, seriously impacting my developer ...
1
vote
1answer
162 views

Copy / Back up all images on Android phone to SD Card with folders

I am running a Raspberry Pi 4 Model B as a VPN Gateway with OpenVPN. On my Samsung S8, I have the app OpenVPN for Android installed and the VPN tunnel to my home network works like a charm. What I ...
0
votes
1answer
31 views

How to restart ssh and Samba after a temporary network disconnection?

I have a Raspberry Pi (Raspbian GNU/Linux 10 (buster)) connected to my home WiFi, which I primarily use as a Samba file server to access files on my other devices. I occasionally have to reboot my ...
1
vote
1answer
52 views

How do I set up a remote ssh connection from my raspberry pi?

I really need some clarification regarding how you connect to a remote server which then forwards requests to certain ports. In an ssh tunnel, are you establishing a SOCKS proxy? How do I get a server ...
0
votes
3answers
71 views

Can't find Raspberry PI IP

I bought Raspberry PI 4B few days ago. I downloaded Raspbian buster lite and placed it on an SD-card, placed ssh with no extension so that I can access it thorugh ssh. I put the prepared sdcard into ...
0
votes
1answer
281 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 ...
1
vote
1answer
551 views

SSH: connection refused

I bought Raspberry PI 4 and I need to connect to it via SSH because I do not have micro HDMI yet. I'm trying to establish the SSH connection, but PuTTY returns "Connection refused" error, but the IP ...
0
votes
1answer
64 views

Over WiFi, I can establish a SSH connection but there is no internet connection

As described in the title, I can connect to my raspberry, via SSH connection, but raspberry has no internet access. All of this is done through an WiFi connection (Windows PC <--> Router <--> ...
1
vote
0answers
266 views

Keep losing connection while streaming video from Raspberry Pi Zero W camera using Motion or Picamera Python

I have set up my new Raspberry Pi Zero WH with the new Raspbian Buster (recommmended software), avaiable on raspberrypi.org. I have tried the following to real-time stream video over WiFi using SSH ...
1
vote
2answers
393 views

Can't connect to RPi4 from Windows 10 (SSH,RDP, VNC, HTML)

I recently was attempting to connect to my RPi via SSH & Remote Desktop. After several failed attempts from accessing it from windows, I attempted to access it from my Android phone on the same ...
1
vote
1answer
18 views

sshd log cleared or flushed unexpectedly?

I have my pi opened to the internet for ssh access and to be more secure, I turned off password authentication and only allowed for key-based SSH. I logged into my pi earlier to check some things and ...
0
votes
2answers
6k views

How do I upload files to google drive automatically from raspberry pi or from PUTTY

The title says it all. I want a simple way to preferably automatically upload files from my pi to a google drive or something similar
1
vote
2answers
186 views

How to enable SSH without a Monitor or Screen

It's getting hard if you always plug HDMI cable to the raspberry pi, login and then turn the SSH service on with raspi-conf or other configurations methods. Is there any way to turn the SSH service ...
0
votes
3answers
3k views

How to remote to Raspberry Pi from outside local network?

I have a Raspberry Pi, and I can connect to it and remote acccess it while I’m on my local network just by doing ssh pi@10.10.xxx.xxx. But now I want to be able to access it when I am on a completely ...
1
vote
1answer
33 views

Can't make an SSH connection to Raspberry Pi

So I tried to make an ssh connection with my raspberrypi (running raspbian ) over ethernet. This used to work but somehow it doesn't anymore. I think the issue is that my raspberry pi can't get an ...
0
votes
2answers
73 views

Port Forward port 22 for Raspberry Pi 3 but port still closed

Yesterday I made a Nas Server on Raspberry Pi and on the local network it's works fine and the SSH connection too but as soon as I try to connect to the Raspberry through Putty from an outside network ...
1
vote
0answers
55 views

How can I build and install openssh server (sshd) with compiler security features

I noticed my raspberry pi's sshd does not seem to have PIE and ASLR enabled. I determined that using the answer here: https://unix.stackexchange.com/a/435038 I'm using Raspbian, is there another OS I ...
2
votes
1answer
84 views

SSH works on eth but not wifi and other services do work always [closed]

So this is driving me crazy. Basically my problem is that I can ssh to the pi if the ethernet cable is connected but not if disconnected. It sounds like a typical network problem so far, but it is ...
4
votes
1answer
116 views

Can't connect to Pi Zero over USB

I followed the guides here and here, both times freshly flashing Raspbian Buster Lite to the SD and modifying the config files. I leave the Pi around 3 minutes to boot, with it connected to my PC's ...
0
votes
1answer
40 views

Installing Avahi-Daemon… now can't access RPI through SSH after entering password

My goal is to remotely access the RPI or interface with it without connecting it directly to a keyboard and monitor. I'm using Putty to access the RPI. When I'm prompted for the username I supply a ...
0
votes
3answers
1k views

How can I connect a Raspberry Pi 3+ with a MacBook Pro 2018?

I would like to access my Raspberry Pi via SSH and am not sure how to connect it to my MacBook Pro from 2018, given that it only has USB-C ports. My idea was to buy a crossover Ethernet cable and an ...
1
vote
1answer
304 views

Destination host unreachable, Pi not connected to internet

I'm using ssh to connect to the Pi from my MS Windows PC, and I'm using a wired connection to do so. Now the problem is even though my Pi is connected to wifi (which provides internet access), it ...
0
votes
0answers
299 views

SSH Connection refused on headless install, ssh file not deleted - tried everything?

I have the old Raspberry Pi B. I flashed the latest Raspbian Buster (headless version) using balenaEtcher (macOS). After that, I've connected the SD card again and created a ssh empty file on the boot ...
0
votes
1answer
93 views

Connect to Raspberry Pi using ssh through usb (ethernet)

I am using Ubuntu 16.04 and I have configured a proper static IP in /etc/network/interfaces auto lo iface lo inet loopback #set static ip auto usb0 iface usb0 inet static address 192.168.0.2 ...
1
vote
1answer
71 views

I can´t connect to my raspi bitcoin rpc server

I am running a bitcoin rpc server on my raspi and I can connect to it using local bitcoin-cli, but not externally from a windows on the same LAN. I tried installing ufw and disabling firewall on my ...
1
vote
1answer
73 views

ssh, shutdown problem, pi 3B+

I could not find answer to my question reading the forum, Im having unusual problem with my new pi 3b+. I'm able to connect my Pi with ethernet cable, and I can ssh to it. So no problem with ...
1
vote
1answer
672 views

Run python script on Raspbian desktop through ssh access

I have a RaspberryPi with a PiTFT 3.5 display connected. The display is configured to mirror the HDMI output and the Pi is running Raspbian desktop. Now what I am trying to do is to run a python ...
0
votes
0answers
73 views

Unable to access RPi SSH from iMac, help?

I'm bit of a newb to Pi and I've setup a RPi 3 Model B with Raspbian. I followed this guide (see below) to setup SSH correctly, however, when I try to access the Pi with the correct credentials (using ...
0
votes
1answer
21 views

sshd can you open a session and be able to resume even when you disconnected

For example lets say I was in the middle of running a script I want to be able to keep the ssh session alive so I continue where I left off.
0
votes
2answers
41 views

Connecting phone with RPi 0 W

Can i host a hotspot on my RPi 0? So phones can connect to it and use the SSH from the pi.. Bluetooth would work too but my question is how and what do i need it for. I searched a lot but there are ...
1
vote
2answers
552 views

Packet loss when pinging my raspberry PI over ethernet

I realized that my PI is lagging over ssh (Demo: https://www.youtube.com/watch?v=0wkBXIFKHAg) The cause of this turns out to be packet loss (ca 10%) within my home network between the PI and my ...
0
votes
2answers
827 views

“structure needs cleaning” after sudo apt-get upgrade

distribution version: 10 (buster) kernel version: 4.19.57-v7+ Basically, I haven't done anything on this Pi except download a 3.5in touchscreen driver. Then I created a static IP address Then (from ...
-1
votes
1answer
187 views

Getting Ip address 169.254.xx.xx

My question is not the same as other question like this. In the following i will describe why. When I tried to connect raspberry (3 b+) to laptop, via Puttty (laptop's OS is Windows 10), I could not ...
1
vote
1answer
233 views

Cannot ssh into Raspberry Pi Zero W over wifi after enabling ssh

I'm trying to set up my Zero W to use as a headless server, so I've taken the following steps: Flashed Raspbian Buster Lite onto the SD card Put a file named wpa_supplicant.conf in the boot/ ...
1
vote
1answer
84 views

Can I use my Pi as an access point in headless mode?

I'm using my Raspberry Pi in headless mode (through ssh) and I want to set it up as a wireless access point. But if, acting as an access point, it forwards packets from the ethernet interface onto ...
1
vote
2answers
205 views

Cannot find boot partition or folder to place ssh file for headless setup

I am trying to setup a headless raspberry pi (through ethernet) that I can SSH into. Everything I've seen on how to do this has said to put an empty file titled SSH in the 'boot partition' or 'boot ...
2
votes
3answers
100 views

SSH Connection refused, even though the openssh-server daemon is running

I did a fresh installation of Ubuntu Mate on my Raspberry Pi 2. Installed openssh-server (in fact it was already installed), and changed the port to be 10022. However, I cannot access the Pi, from ...
0
votes
2answers
38 views

Connections to my Raspberry PI SSH hang after a while

I have a Raspberry Pi 2 B connected on the network with a static IP. After a fresh reboot, I can connect to it smoothly and it just works: ssh -A <ip> -p <port>. But after, let's say one ...
0
votes
1answer
85 views

Cannot ping my access point

I created an access point on my Raspberry PI (Raspbian) following Setting up a Raspberry Pi as an access point - the easy way the systemd-networkd way. Now I have to connect to my AP via another RPI ...
5
votes
3answers
3k views

PI 4 screen rotation from the terminal

I know that you can use the Screen Configuration tool from the desktop, but can I set this over ssh? Basically how can I use the Screen Configuration tool in the terminal on PI4?
0
votes
1answer
266 views

SSH connection hangs in Mac OS Terminal - No prompt for password

I've been SSH'ing into my Raspi 3 B+ for some time now from my Mac OS with no issues. I recently set a static IP address for my Pi on a LAN network connected via ethernet cable. I edited sudo nano /...

1 2
3
4 5
24