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.

221 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
339 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
2answers
3k views

Tunneling Video Over ssh

I am trying to view a live stream from the raspberry pi remotely. I am using motion software to record and stream the video. I am able to view the video locally. I am trying to view it remotely by ...
3
votes
0answers
430 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 ...
3
votes
5answers
8k views

Pi desktop through PuTTY and Xming

I am trying to connect my Pi to my laptop, I have finished installing the OS and through PuTTY and Xming, I am trying to setup the connection but now startlxde command doesn't work. Can someone help ...
2
votes
0answers
44 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
15 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
28 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
101 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
1k 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
397 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
424 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
2answers
381 views

Can't SSH by name on stretch; can on jessie

I just updated my Pi0W's to stretch, from jessie, and now putty won't let me connect by name (e.g. pi@computername.local) like it used to. It does work as expected if I use the IP. But the odd thing ...
2
votes
0answers
639 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
1answer
567 views

Mount LUKS root from USB HDD Raspberry 2

I am using a raspberry pi 2 stretch and have a working set up where the root partition is encrypted using luks and can be remotely mounted via entering the password via ssh (dropbear and initramfs). ...
2
votes
0answers
46 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
913 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
919 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
240 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
214 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
102 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
318 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
563 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
20 views

How to setup sftp only restricted rsync

I want to send 8GB of video and sound files to a colleague for video editing. I tried using something simple online (https://takeafile.com/) but the transfer failed half way through. This seems like ...
1
vote
1answer
74 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
22 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
27 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
36 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
50 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
48 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
40 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
166 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
49 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
65 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
224 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
275 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
21 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
555 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
257 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
147 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
vote
0answers
81 views

Can't SSH into raspberry pi 3 A+ when connected to router

In my Office, we have a network domain. On this network, we have a router that is connected from the network to the router using Ethernet (duh). My raspberry pi 3 A+ is connected using WiFi to this ...
1
vote
0answers
27 views

Ethernet speed: Screen ON vs screen OFF

I've a Raspberry Pi 3 B+ with Ubuntu 18.04 installed. With an SSH connection with my Kubuntu PC, the transfer is good (4.5Mo/s) when RPi's screen is OFF (via xset dpms force standby) but if the RPi's ...
1
vote
0answers
19 views

Wifi stops working (on my laptop) after connecting rpi as ethernet gadget

So I am using a raspberry pi zero W as an ethernet gadget. I got ssh working and the RNDIS/Ethernet Gadget thing working so I can log into the pi using pi@raspberry.local. I even got VNC to work so ...
1
vote
0answers
48 views

Can I route traffic from internet to a router to a raspberry pi to another raspberry pi?

I'm not sure if what I am trying to do is even possible or what to even search for. I bought 2 raspberry pi's to replace my current setup. Old setup: Desktop running plex and tautulli, ssh Laptop ...

1
2 3 4 5