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.

265 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
2k views

Can't access command line of Raspbian/Kodi on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
3
votes
1answer
781 views

How to start xorg on a physically connected display via SSH?

The pi is configured to start into text mode so that no xorg libraries are loaded during normal operation. Yet I would like to be able to occasionally run an xorg desktop session when connected to an ...
3
votes
1answer
4k views

Connect from Windows 10 to Raspberry Pi Zero over USB

I am trying to connect RPi Zero from Windows 10, Was following this tutorial https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget For some reason laptop is not ...
3
votes
1answer
365 views

How to use MATLAB at host PC with Raspberry Pi

I'm trying to connect MATLAB with raspberry pi 2 b+. have already instlled the raspberry pi addon on MATLAB at the host LAPTOP. The configuration - Matlab(Host LAPTOP)-<---->ETHERNET<---->...
3
votes
0answers
444 views

How can I fix hanging SSH on Raspbian?

When I log in through SSH on my Raspberry PI 2 i can work for a couple seconds then the connection breaks. I get the error: packet_write_wait If I pin the host I get something like: Request timeout ...
3
votes
0answers
368 views

Using Pi 2 as a media center AND git server

I would like to use my Raspberry Pi 2 mainly as a media center but also as a private git server for small projects like LaTeX documents. My goal is to be able to set this server as a remote repo to ...
2
votes
2answers
83 views

Can't connect to Pi over SSH without rebooting it every day - Network Error: Connection timed out

Lately I haven't been able to connect to my Pi without rebooting it every day. After a reboot, I am able to connect to it for a few hours and then it starts giving the "Network error: Connection ...
2
votes
0answers
577 views

Getting “has no 'x' member errors” for Rpi.GPIO using vscode remote ssh extension

I just set up my raspberry pi and have been using vscode (remote - ssh extension) on my windows computer to code on there but I have been getting errors like "Module 'RPi.GPIO' has no 'output' ...
2
votes
0answers
65 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
0answers
64 views

Raspberry Pi Jsch Diconnect Handler

I am using Android Studio "Jsch" package to connect my Android Device to my Raspberry Pi via SSH. The Event "on press" sends a command,which executes a Python file on my Raspberry Pi. This File turns ...
2
votes
0answers
24 views

Issues connecting Raspberry Pi 1B+ with RISC OS to laptop

I've been trying to connect my Raspberry Pi 1B+ to my laptop as it is usually done (HDMI, Ethernet cable and USB with power adaptor) and I can't find it on my computer (laptop with Ubuntu 19.04). I ...
2
votes
0answers
148 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 ...
2
votes
1answer
2k views

Trying to get SSH over USB to work (Raspberry pi Zero W)

I'm trying to connect to my Raspberry Pi Zero W using SSH over USB. I've seen other people do it, and I have tried multiple different tutorials over the last few days, but none of them worked. I've ...
2
votes
0answers
634 views

Raspberry Pi Zero -V1.3 Kali-SSH VNC through USB connected to PC possible?

I would like to SSH and VNC to a rasberry pi Zero V1.3 (Non-wifi) running Kali using just the USB connected to a Ubuntu that is connected to the network. It is possible with Raspbian: https://www....
2
votes
0answers
937 views

Can't enable ssh for first boot because latest Raspbian image boot partition is read only

I'm trying to set up my Raspberry Pi headless from my MacBook. However, when I flash the latest Raspian image (April 2018 version), the resulting boot partition has a read-only file system. I've tried ...
2
votes
0answers
49 views

Failure to download file with sftp

I Raspberry Pi 2 as a Torrent Box. I recently attach to it an external usb HDD formatted in NTFS. I can download successfully any file in the hardisk but when I try to connect to my Raspberry with ...
2
votes
1answer
1k views

SSH into Pi working as wireless bridge

I have a Raspberry Pi 3 that I have set up as a wireless bridge. I have a static IP on the ethernet port of 192.168.0.20, and a static IP on the bridge of 192.168.0.30. The Pi is running headless, so ...
2
votes
0answers
3k views

Remotely unlocking LUKS encrypted Raspbian

I encrypted Raspbian using aes-cbc-essiv:sha256 algorithm with 256-bit key using LUKS and configured it to remotely unlocking. I followed these tutorials: https://learn.adafruit.com/resizing-...
2
votes
0answers
2k views

SSH not working after setting static IP

I am using SSH to access my Pi 3 which is connected to my home router via Ethernet. It gets an IP address via DHCP from the router and I connect to it using my laptop installed with Ubuntu without any ...
2
votes
0answers
532 views

RMATE not working to ssh raspberry pi files to sublime

I've followed all the instructions on this site. https://coderwall.com/p/mioruq/edit-remote-files-with-sublime-text-over-ssh-with-sudo-too But it is not working. I don't get any errors when I ...
2
votes
1answer
255 views

Problems with server services on Raspberry Pi3

I have a Raspberry Pi 3 with Raspbian installed on it. However, I've tried also tried Ubuntu Mate, and I had the same problem. After a while my LAMP server, SSH server and FTP server become ...
2
votes
0answers
227 views

Raspberry Pi, SSH, USB MOUNTS, and LINKS

Status Quo : On my WIN7 laptop, I have created a managed drive path from a USB stick (512MB, white Elago) that mounts to an empty NFS directory, say, C:\USB-KEY. In that path (could) exist a file, ...
2
votes
0answers
484 views

Cannot mount raspberry pi's sd card

My raspberry pi was working fine yesterday. Today, I could not ssh into it. I do not have an hdmi screen, so the first thing I tried was taking out the sd card and putting it in my computer. The Disks ...
2
votes
0answers
104 views

No-IP + extenal IP not even pinged

I set up my RPi using no-ip with this video. Locally I can access SSH at port 22 as normal. But when using my external IP or my NOIP from a mobile connected to 3g with the 22 port forwarded it does ...
2
votes
1answer
3k views

SSH hang and packet loss in local network

I have recently run into a very frustrating problem on my raspberry pi 2. Everything has been fine since initial setup (~5 weeks). I have a hidden WiFi SSID, but once I figured out how to set that up ...
2
votes
0answers
322 views

sshd not always available

I just updated my old Pi to a new Raspbian image from 6/20/2014. It seems that ssh is extremely flaky now. When I'm on a terminal on the actual Pi, all network access seems to work just fine. ...
2
votes
0answers
1k views

Can't connect to Raspberry Pi with Ethernet

I've configured my Raspberry Pi so I can connect to SSH, and the first few days it worked flawlessly. Now yesterday and today, I couldn't connect to it so I tried to ping it. I kept getting: ...
2
votes
1answer
716 views

Cannot connect to Raspberry Pi via SSH from Linux

I just got a fairly old model of Raspberry Pi (Model B with 512MB RAM). As I don't have an extra keyboard or screen, I'm trying to hook it up via ethernet with my laptop. I copied a Raspbian image to ...
2
votes
2answers
988 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,...
1
vote
0answers
18 views

Access remote `/dev/input/` on local machine

My robot needs to read input commands from a USB joystick which is physically connected to a remote desktop (Ubuntu). On desktop, the joystick is available for local user with permissions: crw-rw-r--+ ...
1
vote
1answer
25 views

Able to play audio on CLI but not on VNC when headless

I have a Raspberry Pi 4 8GB that I'm looking to use for ham radio applications. In particular, I'm currently working with an rtl-sdr dongle for software-defined radio. Right now I'm just working with ...
1
vote
0answers
27 views

Can't ping or SSH into my pi after update

I'm running a headless Pi-Hole. Went ahead with update/upgrade using SSH from my windows machine, which stalled for about an hour. Couldn't connect via SSH anymore. Thinking it had finished, I ...
1
vote
2answers
37 views

Can't ping or ssh pi@mydevice.local, but can do it with pi@<ipaddress>

I can do ping 10.84.135.79 or ssh pi@10.84.135.79. But I'm unable to succeed with ping mydevice.local or ssh pi@mydevice.local. I'm on macOS, trying to ssh to a Raspberry Pi 4 Model B Rev 1.2. % ping ...
1
vote
0answers
90 views

“cannot currently show desktop”

I was working on installing maven on my raspberry pi3b+ and when I rebooted it, it asked me to enter my password again. Upon entering the password a message pops up: Cannot currently show the desktop&...
1
vote
0answers
79 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 ...
1
vote
0answers
80 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
0answers
31 views

Is it possible to enter USB-C Gadget Mode using only dhcpcd?

I've been following tutorials like this one to make USB 'Gadget Mode' work on the Pi: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ However the other day I had an issue getting it ...
1
vote
0answers
73 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 ...
1
vote
0answers
107 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 ...
1
vote
0answers
77 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 ...
1
vote
0answers
86 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
0answers
68 views

SSH lags, freezes, hangs intermittently

Rpi is up to date, I have experienced the "hangings" with or without my high speed usb dongle. They happen on both my Rpis 4. When I use VNC or simply SSH into my Rpi (4gb), everything is fluid, but ...
1
vote
1answer
170 views

opencv installation

`I tried installing opencv on my raspi 3B using pip, on trying to import cv2 i am getting an error Edit: code lines: Successfully installed opencv-python-4.1.1.26 `(cv) pi@raspberrypi:~ $ workon cv ...
1
vote
0answers
36 views

Raspbian stretch locking up?

I have been running into an issue for the better part of a year where after a couple of weeks, my RPi3B+ will lock up. Using it for Nextcloud, Apache2, php7.2, etc... Locking up means apache starts ...
1
vote
0answers
224 views

Using Hamachi messes up with the Pi's networking

I have a Raspberry Pi 3B+ running Raspbian Stretch with no problems since over a year. I recently tried install Hamachi from the official LogMeIn website, and connected it to my LogMeIn Hamachi ...
1
vote
0answers
69 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 ...
1
vote
1answer
105 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
78 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
1answer
58 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 ...
1
vote
0answers
490 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
2 3 4 5 6