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.

234 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
1k 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
0answers
42 views

Not able to ssh into RPI Zero W with raspbian Lite?

I have for weeks now tried to ssh into my RPI zero, and I cannot figure out what is wrong here. I've been using this guide https://desertbot.io/blog/ssh-into-pi-zero-over-usb. The installation ...
3
votes
0answers
3k 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
350 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
432 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
362 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
1answer
42 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 ...
2
votes
1answer
40 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
0answers
58 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
55 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
20 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
65 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
218 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 ...
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
452 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
1answer
535 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 ...
2
votes
0answers
758 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
47 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
2k 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
3answers
955 views

Trying to ssh to RPi 3 model B - Connection refused

I want to use my RPi 3 completely headless with wifi using Raspbian - I don't have neither a USB keyboard nor a monitor. I modified the following two files on the ext4 partition of my SD card. The ...
2
votes
1answer
249 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
217 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
103 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
319 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
609 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 ...
1
vote
0answers
38 views

SSH not working with raspberry pi zero (non-W model) when using Ethernet Gadget

I tried nearly every guide out there to set up Ethernet Gadget. Pinging raspberrypi.local doesn't work: ssh: Could not resolve hostname raspberrypi.local: Name or service not known And yes, i do have ...
1
vote
0answers
40 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
79 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
32 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
60 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
33 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
118 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
30 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
99 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
48 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
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
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 ...
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
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 ...
1
vote
0answers
86 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 ...
1
vote
0answers
308 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
0answers
323 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 ...
1
vote
0answers
26 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
1k 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-...
1
vote
0answers
358 views

JSch / Java SDK 1.8 - getting Auth Fail from working key file

I'm having an issue with JSch using the ARM variant of Java 8. Using SSH works fine with the key: pi@raspberrypi:~ $ ssh -i .ssh/Pi2Desktop2 -p 22 astump@192.168.1.2 Welcome to Ubuntu 18.04.2 LTS (...
1
vote
1answer
188 views

Avahi listing pi without .local suffix

I have a number of raspberry pis that I swap out (only one running at a time). One responds to ssh pi@raspberrypi rather than ssh pi@raspberrypi.local like the rest. I have looked at how to change ...

1
2 3 4 5