The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
13 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
27 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
39 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
36 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
48 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
29 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
30 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
32 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
51 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.
0
votes
0answers
37 views

Couldn't SSH headlessly on my rpi4

I am trying to SSH my rpi 4 having kali linux etchered to it's memory card but Putty says "Network error: Connection refused" and Solar Putty says "Disconnect (host hard-reset)!. It has SSH file ...
0
votes
0answers
12 views

ssh works, but sftp times out over the internet

So I have set up my pi to have the noip client, and have created a dns through which I can ssh to my pi. I even have a port forwarding set-up on my router to connect to my pi's ssh. SSH is also fine....
0
votes
2answers
20 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
84 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
1answer
92 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
59 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
49 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
56 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
26 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
57 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
30 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
36 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 ...
0
votes
0answers
22 views

Remote access lags on 3B+ when firewall enabled

I'm having some weird problems with SSH and VNC on a 3B+. I've got basic firewall rules on the Pi to allow that traffic through, but I get major lag with them. I'm talking 2 minute delays. If I ...
5
votes
2answers
502 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
53 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 /...
3
votes
2answers
71 views

Can't establish SSH connection in systemd.service

I created following service: [Unit] Description=Server Tunneling After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=ssh -R server-login:80:localhost:8003 serveo....
2
votes
1answer
47 views

Showing an image on screen attached to Pi via SSH

I am running a raspberry pi3b+ via ssh. There is a hyperpixel4 screen by Pimoroni attached to the Pi and it's working fine. I am trying to display an image on the screen attached to the Pi with a ...
0
votes
1answer
57 views

SSH connection refused on SSH request

I have two Raspberry Pis. The first is is a Pi 2 Model B. The second is a Pi 3B+. Both are in my shed in the garden. The first is connected to my LAN via the ethernet port on a Coredy 300 WiFi ...
0
votes
1answer
39 views

How to connect to raspberry pi on ubuntu [duplicate]

I cannot seem to get an ethernet connection to the raspberry pi from ubuntu. It does not find the pi on ifconfig. The ip address of the raspberry pi is static, so should be 192.168.1.23. When I ping ...
3
votes
2answers
67 views

How to use my Linux computer's internet connection in Raspberry Pi through a router?

I have connected my desktop computer (running Ubuntu 16.04) to my Raspberry Pi through a router (ethernet connection). My computer can access internet with USB tethering from my phone. I can SSH to ...
2
votes
2answers
53 views

How to launch browser on Raspbian Lite via SSH?

I am using a Mac to SSH into my Raspberry Pi running on Raspbian Lite. I want to launch a proper GUI-based browser (not a terminal-based one like Lynx) on my Raspberry Pi which should show up on my ...
1
vote
0answers
23 views

ssh.service keeps restating forever

On my rpi machine pi@pi2 ~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch I ...
0
votes
0answers
14 views

raspi 3b+ connect to secured wifi through powershell

I'm trying to connect my pi to a secured network through powershell. I connect from my computer to my password enabled wifi. I get the wifi profile from my computer and copy it to the pi. I then add ...
1
vote
2answers
106 views

Raspberry Pi 3 will not display to HDMI monitor nor ssh

I have Raspbian 9.9 installed on the SD card which runs fine and displays to my monitor via DVI to HDMI adapter. I formatted a 1TB SSD to ext4 and followed the https://pimylifeup.com/raspberry-pi-...
1
vote
0answers
73 views

Linux VPN server without port forwarding

I want to make a VPN server on my raspberry PI. I know it's pretty much simple task but my router does not support port forwarding. So is there any other way to do that?
1
vote
2answers
60 views

ssh raspberrypi.local not resolving in OSX

Until recently ssh pi@raspberypi.local worked as would one expect it to normally. However within the last few days it no longer returns anything and will just sit forever until killed manually. The ...
1
vote
1answer
224 views

Can't SSH into Raspberry Pi 3b+ from Windows 10

I am unable to ssh into my raspberry pi 3b+ from Windows 10. I was able to up until yesterday evening. Not sure how to troubleshoot at this point. I am able to SSH into the pi from a virtual machine ...
4
votes
1answer
55 views

Can't SSH into RPI over WiFI

The way I setup the RPI is through sharing my laptop's connection via ethernet. I enabled SSH. Now I am trying to SSH from it without being hardwired to it the way I set it up and the connection keeps ...
0
votes
0answers
26 views

Control Raspberry Pi Zero via router

I have a Raspberry Pi Zero, non-wireless connected via USB to my router. I have Raspbian Jessy Lite installed on it. Is there any way to use my routers USB port to communicate with the Pi wirelessly?
0
votes
2answers
40 views

ssh in local LAN: works with IP, but not by name

On a local LAN, I am trying to ssh into a freshly installed Raspberry Zero WH, by host name. I am connecting from an Ubuntu box. The Rasbperry Pi does boot, and connects to the Wifi. I can see it in ...
0
votes
1answer
115 views

SSH does not work on Raspberry Pi 3

What is the magic required to make SSH work. I have booted into my Pi and enabled SSH under the settings. I know the IP address of my Pi which is static, I have tried on Windows with Putty and via ...
1
vote
1answer
214 views

SSH into Raspberry Pi connected to OpenVPN

I want to be able to remotely ssh into my rpi, while my rpi is connected to PIA (via OpenVPN). I can ssh into the pi from my local network while the pi is connected to OpenVPN, and I can also ssh into ...
0
votes
1answer
110 views

SSH to raspberry pi over internet

I want to ssh to my Raspberry pi that will be on a different network from my home network. ON my home network router, I set up port forwarding: Set the WAN and LAN start and end ports to 22, set the ...
1
vote
0answers
136 views

NextcloudPi SSH Login Connection immediately closed

I have installed Nextcloudpi on my Raspberry Pi 3. I downloaded the image from ownyourbits and flashed it to the SD card with etcher. When I want to login with the standard ncp user via SSH the ...
0
votes
0answers
26 views

RPI3 Stuck in SSH on boot

I can not open the graphical interface, I have used startx I get a bunch of paragraphs pop up and that is the furthest I can get. When I start up the raspberry pi 3, It says the bluetooth thing is ...
0
votes
1answer
48 views

How to get SSH access to headless Raspbian Stretch Lite? Official way seems not to work

I was not able to enable ssh by putting the file into the boot folder, and yes it was created without extension from a Windows 7 machine and gets deleted after boot. This is what should have happened:...
1
vote
0answers
18 views

Raspberry pi zero as keyboard controlled over wifi possible?

Hello I want to have a pi zero W create a wifi hotspot(no internet connection). I then want to connect to the wifi hotspot and ssh into the pi. From there i want it to send keystrokes as a HID ...
1
vote
2answers
100 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-...
0
votes
1answer
36 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 ...