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
1
vote
0answers
21 views

Object detection on Raspberry Pi 4B causes it to crash and reboot

I am trying to do object detection with openCV on images already saved on my raspberry pi's file system, but the system reboots when I run the following python script: import cv2 as cv import ...
2
votes
3answers
83 views

Raspberry Pi Security Issues: SSH ATTACK? Case Study

This might be a long post so please bear with me. This is a scenario that took place a year back when I had very almost no knowledge of raspberry pi. Right now I am trying to learn some stuff about ...
2
votes
0answers
24 views

Using Pi to bridge two networks through SSH tunnel

TLDR: How to route SQL traffic through a reverse VPN tunnel on a Win10 client to an outside network. I'm hoping I can get some clear advice / tips on this desired setup. I'm looking to access an MS ...
0
votes
1answer
37 views

What's the field before ssh-rsa in known_hosts on Raspbian GNU/Linux 9 (stretch)

ssh-gen by default creates a public key like ssh-rsa AAAAB3NzaC1yc2E...6OEBTVwLRP1Ocyr user@DESKTOP-8BL3U5O The Raspbian 9 has a different format |1|dMpV8+ILjAAD11mhp57Q7hVk/4A=|...
1
vote
1answer
25 views

Very strange SSH problem with iPhone hotspot

I am newbie with Raspberry and this is my first time using it. I downloaded Rasbian Buster Lite and flashed it with Etcher. Added ssh named file to boot directory and also file named wpa_supplicant....
1
vote
1answer
22 views

Reverse SSH with 3G modem [closed]

I just tried to do the reverse SSH. In local everything is OK, but when I connect my distant Pi to a 3G modem, it seems like I can't be connected to it anymore. Tunnel creation code: sudo ssh -i /...
0
votes
0answers
21 views

Unable to SSH into RPi using Public/Private keys “Server refused our key”

I am using Windows 10 and Raspbian Buster on a Raspberry Pi 3B+, and am unable to use keys to login to the Pi. I get the error "Server refused our key" every time. I have created public and private ...
0
votes
0answers
31 views

How to fix ssh connection that's been broken by dhcpcd service

I'm accessing my Pi Zero W over ssh and I recently wanted to assign it an own network (I want it to host a webserver in it's own private network). I tried following this tutorial (unfortunately it's ...
0
votes
1answer
46 views

Connecting Multiple Raspberry Pi to One Laptop

I'm trying to use my laptop to instruct multiple raspberry pi's to take a picture simultaneously. I have a DHCP LAN network which connects to my laptop and raspberry pi through ethernet cables. I've ...
1
vote
1answer
33 views

Connecting and displaying Raspberry Pi on Ubuntu based machine over ethernet cable

Hello dear Raspberry community. I was wondering if I could display Raspberry Pi 3 Model B on my Ubuntu laptop over an Ethernet cable? However, I can not do it with an ssh method, the reason being I ...
1
vote
0answers
92 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
54 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
37 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
38 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 ...
0
votes
2answers
47 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
191 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
55 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
35 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
52 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 ...
0
votes
0answers
23 views

How can I get the IP address of a client connected to my ssh tunnel?

I'm using a Raspberry Pi to host a website. The method I'm using is ssh tunneling. The server forwards port 30374 to 80 on my Raspberry Pi. I want to try and see the client's IP address using the PHP $...
3
votes
2answers
57 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
43 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
26 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
33 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
58 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
0answers
79 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
65 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
53 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
98 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
106 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 ...
-2
votes
2answers
829 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
93 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
249 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
32 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
24 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
42 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
51 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
39 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
31 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
210 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
82 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
137 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
74 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
40 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
52 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 ...
0
votes
0answers
32 views

Can you use your pi's Hostname to ssh into your Raspbarry Pi 3 from outside your network? [duplicate]

I'm trying to ssh into my rpi from outside of my network but it is not working. I am using ssh username@raspbarypi to try and get in but no luck. I have also tried to use the IP address like so ssh ...
1
vote
1answer
110 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
63 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
20 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.