Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
18 views

failing to ssh after Access point setup

I tried to follow the instructions here to set up a WLAN repeater on my pi 3 B+. wlan repeater After I set up I was able to connect through SSH with my pi only through making a WLAN connection to my ...
0
votes
1answer
34 views

Transfer files from computer to raspberry pi using python script (Wifi connection - SSH setup)

I want to transfer text files or a complete folder containing text files from my computer to raspberry pi using a python script. I am accessing my raspberry from the same computer (Using Putty) from ...
0
votes
1answer
29 views

RPi randomly unreachable over SSH/HTTP

I have a headless Pi running Raspbian with no other peripherals than an ethernet cable attached. It hosts a simple webpage using Apache with some simple PHP that interfaces with MariaDB. I connect ...
0
votes
1answer
38 views

Effective way of developing on a PC and deploying the program onto a headless Raspberry Pi

The way I mostly go about developing for a Raspberry Pi is by writing the code on my main machine in an sshfs directory that corresponds to /home/user on the Pi and then testing it by sshing into the ...
0
votes
1answer
41 views

Raspberry Pi Touch Screen - I can't do anything

So, I recently bought a UCTRONICS LCD 3.5 in. touch screen for the Raspberry Pi (I have a Raspberry Pi 3 with Raspbian Stretch), and attaching it and getting it to turn on worked just fine. I ...
1
vote
1answer
39 views

Raspberry Pi connecting to Wifi but not ethernet

I am trying to SSH into a Raspberry Pi 3B+ using ethernet, but it says: No route to Host. Pinging the IP doesn't work either, and raspberrypi.local doesn't seem to be resolved by mDNS. When I tried ...
0
votes
1answer
36 views

Will the local IP address of my Pi change?

I have set up my Pi recently. I have found the local IP address for the device so that I can ssh to it. It is connected to the internet by an ethernet cable. My question is: will this local IP ...
-1
votes
1answer
33 views

Unable to run python script on boot

I wrote a script for object detection and if I establish ssh connection to Raspberry Pi and run it from console, everything works fine. As I would like to start the script automatically on boot, I ...
1
vote
1answer
30 views

SSH Access with passwordless Private Key file

I'm using an rsa 4096-bit keypair to gain passwordless access to a raspberry pi from another pi. If I use the private key on Windows with PuTTY, I am able to access the target pi fine. However, if I ...
1
vote
1answer
37 views

Connecting to raspberry pi to set up wireless access point

I am using the following link :https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/ to set up my raspberry pi to act like a wireless router. So far I have installed raspbian on a ...
3
votes
2answers
93 views

Cannot connect to my Pi over SSH from IPv4 to IPv6

I am trying to set my Raspberry Pi as a server at home using IPv6. At home I have a dual stack. I need to know how can I connect from outside internet IPv4 (Client) to IPv6(Server at home) via SSH. ...
0
votes
1answer
58 views

Can't SSH Into Headless Raspberry Pi 3 B+

I have a Raspberry Pi 3 B+ and I'm trying to use it to run some servos. I'm brand new to the hardware and networking part of this setup - I only have experience with programming, but not this part. I ...
0
votes
1answer
33 views

Verify WiFi Settings Will Work via Command Line

I'm remoting into a RPi Zero W using SSH. The RPi is connected to the internet via Ethernet cable. I want to set-up the WiFi at the current remote location and check that it will work when the ...
0
votes
0answers
26 views

Raspberry Pi 3 Model B - SSH server config switches to disabled over time?

I have been using SSH remotely, enabled it though sudo raspi-config, and then a week or so later I tried to connect through PuTTy and it timed out. Checked the config and it was disabled... Any ideas ...
0
votes
1answer
40 views

VNC without pass from external internet

Problem I want to use raspberryPi's Chrome from my Mac in order to watch some videos. In order to do that, I am trying to make VNC connection. Condition raspberry pi and my Mac uses different ...
0
votes
0answers
13 views

RPi 3 can't find Windows PC hotspot

I am studying abroad for a month and need to be able to ssh into my pi. The hotel's WiFi won't allow my PC to ssh over their network, so I am trying to turn my laptop into a hotspot and connect the pi ...
0
votes
0answers
39 views

raspicam TCP video streaming over ssh - almost there… but need help

I am trying to pipe raspivid over ssh to my main computer, and then via gstreamer send the stream to a dummy video device (thanks to V4l2loopback) environment : v4l2loopback version: 0.12.0 kernel ...
1
vote
1answer
35 views

Rpi not Accepting default password when connected via ssh

I was trying to setup a ssh connection to my pi 2 (model B, i.e., no inbuilt wifi) in headless mode from my ubuntu machine. I do not have a router. After multiple attempts of flashing and tweaking, ...
1
vote
0answers
49 views

Trying to use Ethernet over Bluetooth between Pi boards

I'm trying to use SSH over Bluetooth via Ethernet over Blutooth. I've based my effort thus far on: Bluetooth PAN Network Setup with BlueZ 5.X I believe I have faithfully followed the instructions. ...
0
votes
2answers
101 views

Backup RPI to a Linux Machine via ssh

How to backup my RPI and keep it up to date without needing to create an image with dd. I want to do it from a linux machine via ssh. With the backup I want to be able 1) to restore the system on ...
0
votes
1answer
36 views

X forwarding not working over ssh

For the headless raspberry pi (rp), I tried to connect from my windows PC to Raspberry pi via mobaxterm and ssh. I can connect via ssh (ssh pi@ but I can't display to my local display(ssh -X pi@. I ...
0
votes
1answer
62 views

Pi 3 B+ Headless SSH Connection Refused

Hey! Recently I purchased a new pi, and didn't have a monitor to set it up with so I SSH'd into it using an ethernet cable. I did this 100+ times and randomly it stopped working, and now gives a "...
0
votes
1answer
31 views

Setting a mode to a pin requires root permissions

I’m trying to change pin mode on RPI (with Raspbian) – it works when I invoke those commands sudo chown root.gpio /dev/gpiomem sudo chmod g+rw /dev/gpiomem but after every restart I have to execute ...
0
votes
0answers
18 views

Pi freezes when setting defaults for large screens, broken pipe message

I ssh into my Pi to run on my laptop with RealVNC. I have a 4K display so everything is very small, almost unreadable. I can expand the window but this makes things blurry and it's annoying to have to ...
0
votes
2answers
49 views

Authentication with Public Key and Password Option

Is it possible to allow the user to use Public Key and Password to authenticate to their ssh account (Have both options enabled rather just one or the other)? If it possible, how to do so?
0
votes
0answers
19 views

Ping to Raspbrerry Pi fails

I have a Raspberry Pi 3 B+ on my network that serves as an SSH gateway. Everything works (I can access the internet) but no device can ping it. I have fail2ban installed but no jails for ICMP/ping. I ...
0
votes
2answers
84 views

Raspberry Pi 3B - Headless - No Internet - Ethernet LAN - Router IP Assigned - Error to Connect

Don't know what I am doing wrong but since I had connected Pi to router's LAN port, I am not able to SSH via any OS. Be it Linux or Windows. I am able to connect it easily if I choose WiFi over ...
0
votes
1answer
87 views

Disable SSH Password Warning

How I can disable the SSH warning after a restart? I tried to remove the etc/profile.d/sshpwd.sh file and some other methods but they don't work. I have a Pi 3, using Raspbian Stretch with the ...
5
votes
2answers
166 views

How can I replace Raspian SSH host keys if I can't login to pi? (“connection refused”)

After configuring a new Raspberry Pi Zero W, I have not been able to ssh into it over WiFi. The IP address is assigned and pingable, but I get 'connection refused' errors. After some research, I ...
0
votes
1answer
66 views

Pi reachable from smartphone but not Windows

Today I installed Raspbian Stretch Lite once again on my Pi. After that I connected my Pi to the Internet using a WLAN USB adapter. I can ping, for example, Google but not my PC on my local network....
0
votes
1answer
47 views

Not able to connect over ssh with my pi

My only possibility to connect with my raspberry is over ssh. I have crated a file named 'ssh' on my card as described in this post https://hackernoon.com/raspberry-pi-headless-install-462ccabd75d0 ...
1
vote
1answer
55 views

Direct connection to Pi with usb-to-ethernet adapter possible?

I've got a pi 3B to which I always ssh over my home network. I'm now going to be traveling for some time and I want to mess around on the go. I read that you can connect directly to the pi using a ...
0
votes
0answers
18 views

Google Translate API rejects exact same script executed on Raspberry Pi, but accepts it coming from other devices!

I am using the following code to translate something via a npm module called google-translate-api: const translate = require('google-translate-api'); var sentence = "Bonjour, mon frere."; translate(...
0
votes
2answers
53 views

Programmatically SSH into pi on local network without looking up IP-Address beforehand?

I have a pi in my local network, and I sometimes want to connect to it via ssh. However, the pi always has a different IP-address, so I look it up beforehand each and every time. Is there a way for me ...
0
votes
2answers
89 views

sqlite gigabyte database on RPi3B+ [closed]

I need r/w access to a sqlite database of several GBytes. Putting it on the SD card is out of the question as the writing would wear out the SD too quickly. This is why I was thinking of network file ...
0
votes
1answer
40 views

SSH over USB - possible with RPi 0 but not with RPi 3?

Although I see here and there that SSH over USB is not possible with RPi 3, it seems that SSHing over USB is possible for RPi 0. This seems weird to me. Do you (dis)confirm that SSH over USB is ...
3
votes
1answer
70 views

SSH works on one pi but not another - same SD card

SD card in Pi3B number one - no problem. Swap that same SD card to Pi3B number two: - Connection refused when trying to ssh from another computer. - No problem pinging the Pi at its new ip (assigned ...
0
votes
1answer
62 views

Someone changed the pi password on the RP2. Is there a way to undo it?

I was stupid enough to leave the RP2 exposed to the internet with the default password (for the momentary sake of convenience) for a very short time and someone (I am assuming an automated scanning ...
1
vote
2answers
26 views

When under load, the system is unresponsive except for a ping

I've got a Raspberry Pi 1 Model B that has been my trusty workhorse for a few years. It normally chugs away happily running transmission, pi-hole and a node.js app simultaneously. All of a sudden it'...
1
vote
3answers
444 views

Connecting to RPi from Linux with the ethernet cable without touching RPi

I have a Raspberry Pi 3 that runs on Raspbian and has SSH enabled. However, I don't have any monitor to connect it to (to set up WiFi connection), so my only chance to communicate with it is a basic ...
0
votes
1answer
108 views

How can I debug why SFTP is not working while SSH is working?

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. I already enabled SSH capability via raspi-config menu Test I can SSH into my Pi perfectly fine, but I can not SFTP into it. ...
0
votes
2answers
216 views

Unable to SSH after securing Pi

The questions I have found so far do not seem to satisfy my problem (e.g. I've tried the steps in them to no avail). I'm in the process of securing a Raspberry Pi, following this guide: https://...
0
votes
1answer
79 views

Wiring Omron D6T Thermal Sensor to Raspberry Pi Zero W with Adafruit T-Cobbler Plus

I have a Raspberry Pi Zero W connected to a Adafruit T-Cobbler Plus and breadboard. My question is regarding wiring. I have followed tutorials to create simple circuits, however, I am struggling to ...
0
votes
3answers
97 views

dhcpcd and ssh fail to start after changing hostname

I accidentally changed my hostname to an invalid one, containing ".". I managed to change the hostname back to a valid one but the dhcpcd and ssh service fail to start. If I ping my RPi from another ...
0
votes
1answer
42 views

Using Putty and VNC

I have an RPi3B+ which I can connect to through either Putty or VNC, both work fine. I've installed virtualenv with pip install virtualenv virtualenvwrapper. When I'm connected through Putty and I ...
0
votes
1answer
24 views

Remote Backup Home Folder on Raspberry to TAR to MAC

Can someone please help me out on how to change this to make a tar file of a user home folder on the Raspberry and move it to my MAC desktop ssh pi@xxxx "sudo dd if=/dev/mmcblk0 bs=1M | gzip -" | dd ...
0
votes
1answer
35 views

All ports on pi are filtered

I have been trying to get ssh working on my raspberry pi. I have a good WiFi connection and everything works fine except that when I do an nmap scan for it, it shows nothing, so I used -Pn and it says ...
1
vote
0answers
72 views

Automatically restart Raspberry Pi on Shutdown

I'm currently using a Raspberry Pi 3 B+ at a remote location and use a VPN and SSH to access the device. If the power unexpectedly goes out at this remote location (or more commonly I stupidly ...
1
vote
0answers
46 views

How can I get SSHFS to work?

I am hosting a web server on my Raspberry Pi and I'd like to be able to edit the hosted files through sshfs on my MacBook. I have installed sshfs on my Pi and MacBook and have also installed FUSE for ...
0
votes
1answer
540 views

Workon Command not found when using pi, but works from ssh

when I run the work command to get into my cv virtual environment on my pi it displays pi@raspberrypi:~ $ workon cv bash: workon: command not found however when I ssh into my pi from my MacBook and ...