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
0answers
3 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 ...
0
votes
1answer
15 views

SSH-ing into Raspberry Pi using Visual Studio Code taking a lot longer than usual [closed]

So I have a Raspberry Pi running and I was able to ssh into the Raspberry Pi using the command prompt without any issues at all. However, when I try to SSH into the Raspberry Pi using Visual Studio ...
-1
votes
2answers
20 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,...
0
votes
5answers
115 views

Router can't find my Pi

I have a brand new raspberry pi 4, with official power supply. Brand new SD card, just installed the latest Raspbian on it using UNetBootIn on my main linux (Mint 19) machine. As the display ...
1
vote
1answer
20 views

assigning static ip on intial boot to raspbian

I know we can have raspbian connect to local wifi if we copy wpa_supplicant file to location were boot.txt is in sd card, and even enable ssh by copying ssh file to the same location, but how can we ...
0
votes
1answer
31 views

3B+ Not Booting

I've had my Raspberry Pi 3B+ for a while now (a couple of months, maybe) and it has always booted just fine, up until this week. I was using the RPi to host my Discord Bot, but now it doesn't seem to ...
1
vote
1answer
44 views

Rasberry Pi SSH Freezing over ethernet

I have a number of Raspberry Pi Model 3 B+'s and they all have the same problem with SSH, when i connect it will randomly freeze. Sometimes this happens after a few seconds but occasionally i'll get a ...
0
votes
0answers
15 views

How can I get the IP address of a client connected to my ssh tunnel?

I'm using a Raspberry Pi to host a website. The method I'm using is ssh tunneling. The server forwards port 30374 to 80 on my Raspberry Pi. I want to try and see the client's IP address using the PHP $...
3
votes
2answers
42 views

How an I improve sshd latency over WiFi?

I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network. What I'm seeing is that the character latency is very high, seriously impacting my developer ...
1
vote
1answer
23 views

Copy / Back up all images on Android phone to SD Card with folders

I am running a Raspberry Pi 4 Model B as a VPN Gateway with OpenVPN. On my Samsung S8, I have the app OpenVPN for Android installed and the VPN tunnel to my home network works like a charm. What I ...
0
votes
1answer
21 views

How to restart ssh and Samba after a temporary network disconnection?

I have a Raspberry Pi (Raspbian GNU/Linux 10 (buster)) connected to my home WiFi, which I primarily use as a Samba file server to access files on my other devices. I occasionally have to reboot my ...
1
vote
1answer
24 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 ...
0
votes
3answers
51 views

Can't find Raspberry PI IP

I bought Raspberry PI 4B few days ago. I downloaded Raspbian buster lite and placed it on an SD-card, placed ssh with no extension so that I can access it thorugh ssh. I put the prepared sdcard into ...
0
votes
0answers
41 views

Ubuntu server : SSH by default (setup without monitor)

I need to setup a Raspberry Pi 4 without a Monitor, I want to run a light version without GUI just to run some docker, I though Ubuntu Server was a good idea. I try to add a SSH file on the microSD ...
1
vote
1answer
44 views

SSH: connection refused

I bought Raspberry PI 4 and I need to connect to it via SSH because I do not have micro HDMI yet. I'm trying to establish the SSH connection, but PuTTY returns "Connection refused" error, but the IP ...
0
votes
1answer
48 views

Over WiFi, I can establish a SSH connection but there is no internet connection

As described in the title, I can connect to my raspberry, via SSH connection, but raspberry has no internet access. All of this is done through an WiFi connection (Windows PC <--> Router <--> ...
1
vote
0answers
46 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
2answers
74 views

Can't connect to RPi4 from Windows 10 (SSH,RDP, VNC, HTML)

I recently was attempting to connect to my RPi via SSH & Remote Desktop. After several failed attempts from accessing it from windows, I attempted to access it from my Android phone on the same ...
1
vote
1answer
18 views

sshd log cleared or flushed unexpectedly?

I have my pi opened to the internet for ssh access and to be more secure, I turned off password authentication and only allowed for key-based SSH. I logged into my pi earlier to check some things and ...
-2
votes
2answers
206 views

How do I upload files to google drive automatically from raspberry pi or from PUTTY

The title says it all. I want a simple way to preferably automatically upload files from my pi to a google drive or something similar
1
vote
2answers
77 views

How to enable SSH without a Monitor or Screen

It's getting hard if you always plug HDMI cable to the raspberry pi, login and then turn the SSH service on with raspi-conf or other configurations methods. Is there any way to turn the SSH service ...
0
votes
3answers
104 views

How to remote to Raspberry Pi from outside local network?

I have a Raspberry Pi, and I can connect to it and remote acccess it while I’m on my local network just by doing ssh pi@10.10.xxx.xxx. But now I want to be able to access it when I am on a completely ...
1
vote
1answer
30 views

Can't make an SSH connection to Raspberry Pi

So I tried to make an ssh connection with my raspberrypi (running raspbian ) over ethernet. This used to work but somehow it doesn't anymore. I think the issue is that my raspberry pi can't get an ...
0
votes
2answers
20 views

Port Forward port 22 for Raspberry Pi 3 but port still closed

Yesterday I made a Nas Server on Raspberry Pi and on the local network it's works fine and the SSH connection too but as soon as I try to connect to the Raspberry through Putty from an outside network ...
1
vote
0answers
41 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 ...
2
votes
1answer
45 views

SSH works on eth but not wifi and other services do work always [closed]

So this is driving me crazy. Basically my problem is that I can ssh to the pi if the ethernet cable is connected but not if disconnected. It sounds like a typical network problem so far, but it is ...
4
votes
1answer
32 views

Can't connect to Pi Zero over USB

I followed the guides here and here, both times freshly flashing Raspbian Buster Lite to the SD and modifying the config files. I leave the Pi around 3 minutes to boot, with it connected to my PC's ...
0
votes
1answer
29 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
65 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
51 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
90 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
67 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
32 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
41 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
54 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
56 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
61 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
15 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
21 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
138 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
181 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
79 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
72 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
63 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
37 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
72 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
42 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 ...