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
1 answer
45 views

Possible to ssh to remote Pi inside corporate firewall without port-forwarding?

Situation :: There's a Pi running an arcade machine inside a clients' office. I can connect to a network via utp cable, so the Pi has internet connection, but asking for port forwarding to ssh to the ...
0 votes
1 answer
2k views

pip cannot install anything. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I have just set up my new raspberry system. However, my pip cannot install anything. Keep showing 'WARNING: pip is configured with locations that require TLS/SSL, however, the SSL module in Python is ...
0 votes
1 answer
86 views

Why can't I SSH into my Raspberry Pi 3b+ after a variable period of time?

On boot, I can successfully SSH into my pi. Then when I exit the session, I can immediately SSH back into it but if I wait some variable length of time (usually a few hours but sometimes more and a ...
0 votes
2 answers
2k views

ssh not working even after enabling it

I have a raspberrypi3 connected to my home network via ethernet cable. I am trying to access it via ssh from a laptop connected to the same network over wi-fi. I enabled ssh on the pi's user (which ...
2 votes
1 answer
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 ...
1 vote
1 answer
2k views

Using Raspivid with a SSH tunnel

I can successfully stream using raspivid -o - -t 0 -w 640 -h 480 -fps 30 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 and I can view the stream in ...
0 votes
1 answer
3k views

Getting no route to host when trying to git clone

I'm connected to my RPi4 using ethernet and ssh from my laptop. I'm able to ping github.com and receive packets. The error I get when trying to clone a repo is: fatal: unable to access 'https://...
0 votes
1 answer
20 views

Raspberry Pi Zero 2W - SSH causes a halt

I connect Raspberry Zero 2W via SSH to the computer and everything looks correct, but when I'm trying to install some library like pip install mysql-connector-python or run symfony command symfony ...
0 votes
1 answer
55 views

Raspberry has internet access but can't connect to SSH or webserver

My Raspberry Pi 3 is connected to the router via cable. To this day, I had no issues with it, I was running home assistant on it (and developing a few additions on my own). However, while I was ...
0 votes
1 answer
29 views

Problem setting up Raspberry Pi Zero 2w

I have a little problem setting up my Raspberry Pi Zero 2w. Since i don't have a micro HDMI cable, i wanted to set it up so that i can connect to it via ssh. This however did not work at all. I wanted ...
1 vote
1 answer
4k 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 ...
0 votes
1 answer
181 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
3 answers
8k 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
0 answers
14 views

Can I use my phone or MacBook to replicate my home wifi for on the road SSH access?

So I set up a project on a Pi zero that runs a basic python script on startup. I made a last minute change and it passed the first few hurdles of a rudimentary test so I unplugged it and packed it in ...
0 votes
1 answer
727 views

Debian bullseye: ssh service cannot start on boot "Address already in use"

I'm using debian tested images on Raspberry Pi 4. After installing ssh service with apt-get install ssh, i'm fancing the following issue: the service failed to start on boot only: -- Boot ...
0 votes
1 answer
362 views

SSH to raspberrypi hangs after about 30 seconds, unless the raspberrypi is being pinged

Symptoms ssh connection to raspberrypi hangs after rougly 30 seconds, unless I ping the raspberrypi. The raspberry pi is at raspberrypi.lan I have a script ~/troubleshoot.sh #! /bin/bash uptime free ...
2 votes
1 answer
973 views

Automatically add ssh keys to ssh agent on Raspberry Pi

I want to access GitHub via SSH. I have created a passphrase protected SSH key which I want to add to the ssh-agent on login. If I add a SSH key to ssh-agent via command ssh-add ~/path/to/key </dev/...
0 votes
1 answer
88 views

Working ssh tunnel script does not work when executed by 'on boot' techniques

The following works flawlessly, in that it allows me to access a webpage hosted on the Pi at my domain which is hooked up to a google compute vm. pi@raspberrypi:~ $ ./pi_home_reverse_proxy/scripts/...
0 votes
1 answer
19 views

Change tty remotely via SSH connection on a Mac

On the RPI I have two sessions running on two different terminals (tty1 and tty2). from the Pi directly connected keyboard I can change between them using ALT + > keys and even sudo cat /dev/vcs1 ...
0 votes
1 answer
180 views

SOLVED Unable to Set Up Pi Zero W headless - tried everything

I recently purchased a Raspberry Pi Zero W and have followed numerous tutorials on how to set it up headless, all without any success. I've tried turning it into a USB ethernet gadget rather than ...
0 votes
0 answers
18 views

How can I change the main menu and default window size, plus where right click menus/hover menus appear? (Raspberry Pi 3a+)

I recently started using VNC connections using RealVNC viewer (and sometimes I occasionally use SSH) and now my main menu size, default window size and position, and hover/right click menus are messed ...
4 votes
2 answers
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 ...
0 votes
1 answer
289 views

RPI4 and 4G Dongle

I setup a 4G connection using below link viewtopic.php?t=302262 I have a ZTE MF820B dongle. When my home WIFI is on, I can ssh to the pi. But when I turn off the wifi and use only the ZTE usb dongle, ...
1 vote
4 answers
713 views

Rpi3B+ ssh session drops randomly

I have a Raspberry Pi 3 Model B Plus Rev 1.3 in my Ethernet network that runs headless with octoprint and an arduino pro mini connected to it via i2c. Wifi is disabled. The Rpi is powered from an ...
0 votes
0 answers
92 views

vlc shows black screen on zero 2w running Bullseye

If I use the vlc GUI or call a python script from the local command line: import vlc media = vlc.MediaPlayer("myfile.mp4") media.play() I get a black screen instead of a video. ...
0 votes
1 answer
2k views

Can't get SSH to work over USB in linux [Raspberry Pi Zero W]

The problem is that I can't get it to work while using linux, I can SSH just fine into it on my Windows machine but on my laptop running arch, it doesn't seem to be able. I've followed the steps I ...
1 vote
1 answer
278 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 ...
2 votes
1 answer
458 views

Running framebuffer application over ssh with display on TFT

I've got a RPi 2 running Raspi OS 2020-12-02 with Adafruit 3.5" TFT display - the display is configured correctly and displays console messages and as well can display images, for example when I ...
-1 votes
3 answers
6k views

How to SSH Into Pi Using a Script

I am trying to create a script on my computer that will ssh into my raspberry pi and automatically configure some wifi options (over usb->serial cable, with screen). I am running into issues getting ...
1 vote
2 answers
135 views

Ethernet for SSH via Offline Router, WiFi Chip for Internet

So, here’s how it goes. I have an old Linksys router which I have my raspberry pi connected to via Ethernet. I SSH to it via my laptop or phone by connecting to my router via WiFi. I want to be able ...
1 vote
1 answer
521 views

ssh to raspberry pi zero w no longer works after updating software

Abandoned post by Unregistered user. My raspberry pi zero w with latest version av Raspbian Jessi worked fine yesterday and I had no problems to ssh to it from my windows 10 pc. Today I updated it ...
1 vote
3 answers
1k views

Not able to connect Raspberry to laptop

I'm trying to connect my laptop to my Raspberry PI with just a LAN cable and without a router because I don't have one. So I just configured a static IP in both the devices and tried to setup a ...
0 votes
1 answer
289 views

How to connect to rpi 4 without home network via Wifi adapter

I have a Rpi 4 (Ubuntu 20.04.5) and a desktop (Windows 11). On the desktop, I have a wifi adapter. How can connect to RPI via ssh without wifi home network? I don't need the RPI to have access to the ...
0 votes
2 answers
103 views

Can't ping or ssh [email protected], but can do it with pi@<ipaddress>

I can do ping 10.84.135.79 or ssh [email protected]. But I'm unable to succeed with ping mydevice.local or ssh [email protected]. I'm on macOS, trying to ssh to a Raspberry Pi 4 Model B Rev 1.2. % ping ...
0 votes
0 answers
39 views

Remote desktop connection between rpi4 and windows 11

I am facing this error for a while now. The picture below is the error i always encounter. Any suggestions?
2 votes
1 answer
381 views

SSH disconnects after ~10 mins and can't reconnect

After around 10 minutes of starting up my Raspberry Pi (Model 4b) and being SSH'd into it, it freezes. If I try to reconnect I just get connection timed out. I've connected it to a monitor and it ...
2 votes
1 answer
227 views

SSH via PuTTY Remote Forwarding Setup

I was trying to set something up so that I can SSH into my Raspberry Pi 4B from anywhere via remote forwarding. To do this I wanted to use PuTTY, specifically, I wanted to add a new forwarded port. ...
1 vote
1 answer
101 views

raspberry pi home automation sphinx

Hello. I'm suffering from this problem. Had anyone here dealt with it before, if so please help me. I'm running out of the time. I already downloaded cont_ad.h to sphinxbase library but nothing has ...
38 votes
4 answers
78k views

SSH to RPi without a network connection?

Is it possible to SSH in to an RPi without a network connection? I could imagine that you could do it using a LAN cable from the computer to the RPi or maybe using a USB cable. I do actually have ...
0 votes
0 answers
21 views

Log into a Powershell session over SSH, but keep SFTP working?

I have recently reinstalled my Raspberry in an effort to try to get something useful out of it, so far so good, including getting .NET 8 running nicely on it. Since I have started to use Powershell, I ...
7 votes
1 answer
1k 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 ...
0 votes
1 answer
159 views

Problems using OpenSSH to remotely Access Raspberry Pi

I have a static IP setup for the raspberry pi and have no problem connecting via ssh while on the local network. I have the OpenSSH server running on the raspberry pi(pi4 model B running rasbian) and ...
0 votes
1 answer
143 views

SSH to raspberry pi - no matching key exchange method found

I have set up a Raspberry Pi 4 with the current Raspberry Pi OS in my home network. When I try to connect to it via ssh I get: Unable to negotiate with 192.168.xxx.xxx port 22: no matching key ...
3 votes
1 answer
419 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<---->...
0 votes
1 answer
63 views

How to make privileged user

I get this message when I try to SSH into my Raspberry Pi after having run sudo shutdown: System is going down. Unprivileged users are not permitted to log in anymore I thought the default account ...
0 votes
0 answers
40 views

SSH over Ethernet directly to PC causes: client_loop: send disconnect: Connection reset

I have my pi 5 (fresh install) (also tested pi 4, same issue) connected via ethernet cable to my PC (windows 11). SSH into the pi 5, after about 2 minutes, causes: client_loop: send disconnect: ...
1 vote
1 answer
124 views

Not accepting any new connections. Raspberry pi zero W

I am new to Stackexchange. I have been working on a monitoring service (python based) on RPi Zero W. I edited the /etc/rc.local file to execute the program during the startup. The program works ...
0 votes
1 answer
50 views

Help with "-bash: syntax error near unexpected token `do' "

Background: Yes, I'm a noob. I've been learning Debian Linux the last several months. Here's the situation: I have 10 Raspberry Pi's (3B+) with hostname rpi-100 to rpi-109. I am trying to automate ...
0 votes
1 answer
159 views

Turning on network-manager terminates ssh

I am new to this whole thing. I am trying to setup a hotspot on my pi zero 2 w and installed the pi-OS lite legacy 32 bit using the pi imager and setup the wifi connection and ssh thingy from there. ...
0 votes
1 answer
109 views

User friendly interface to network settings

Right now, my team plans to deliver configured Raspberry Pi machines to our clients' homes so we can ssh to them. The only problem is that we don't have their home Wi-Fi SSID and password until we get ...

1
2 3 4 5
29