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
20 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
22 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
37 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
11 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
24 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
24 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, ...
0
votes
0answers
25 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
75 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
32 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
36 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
14 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
39 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
18 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
46 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
52 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
149 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
64 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
46 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
votes
0answers
45 views

Ssh not working on different LAN network. Connection refused

I am succesfully able to connect to my raspberry running raspbian stretch lite via ssh on my home network. When i move my raspberry to another home network i keep receiving "connection refused". ...
-1
votes
0answers
23 views

MyPi issue: “Listening for incoming connections on Port 5000” then stalls

I'm trying to install MyPi and when I actually try to start the server, it stops. It's not stopping as in the program is killed but it's been listening for at least 5 minutes. I have yet to receive a ...
1
vote
1answer
30 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
17 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
48 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
76 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
36 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
69 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
60 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
201 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 ...
-1
votes
0answers
20 views

Pi disconnecting

I have a RPI 3b which I use as my alarm clock. It plays internet radio and is controlled by an app over WiFi. The weird thing is that at random moments I can't access the pi anymore. It doesn't show ...
0
votes
1answer
62 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
0answers
21 views

Files integrity is occasionally compromised after being transferred via Wifi / ssh with with scp and rsync

I have a Raspberry Pi 3 that I use as a media server (with Plex). The RPi3 is connected to my home LAN both via WiFi and via Ethernet cable. I use the WiFi to transfer files from my laptop to the RPi3 ...
0
votes
2answers
164 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
0answers
69 views

Raspberry Pi RetroPie Stuck at Permission Denied Public Key on Boot

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. Just now, I'm not sure what had happened to my Pi hardware, network, or even SD card. When I boot up, I kept seeing the loop of ...
0
votes
1answer
52 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
87 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
37 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
21 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
29 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
62 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
34 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
290 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 ...
1
vote
2answers
35 views

Running PI can no longer connect via SSh

I've got a brand new Raspberry Pi Zero W and have a problem. I don't think this is specific to the PiZero as Googling has revealed this to be problem with other Pi's. I've got the Pi configured with ...
0
votes
2answers
50 views

addressing my RPi by “raspberry” name using EITHER Ethernet or WiFi

I can ssh into my Rpi connected via Ethernet by just typing ssh pi@raspberry or the STATIC ip address I assigned to eth0 Now, when it's on WiFi, with a different STATIC IP address assigned to wlan0, ...
0
votes
0answers
15 views

pi keep hanging while trying to change an interface

Actually am running a mesh topology on raspberrys and all the interface interconnected to other raspberrypi i.e eth0, eth1, eth2, eth3, eth4 using usb ethernet adapter. the only way i can i start up ...
1
vote
1answer
83 views

SSH on Raspberypi hang or frozen

I have direct connection with Raspberry pi via ethernet cable on linux machine. if i run ssh pi@10.42.0.22 i could establish secure connection. the problem i encountered is raspberry hang or frozen ...
1
vote
1answer
79 views

Why won't Zero-Conf hostname raspberrypi.local resolve on Windows?

I have a Raspberry Pi with Wi-Fi off, connected by Ethernet directly to a Windows 10 laptop. The laptop is on Wi-Fi and has internet connection sharing on. I've been running ssh pi@raspberrypi.local (...
0
votes
1answer
110 views

How to ssh without needing a password [duplicate]

I just want to run a python file on raspberry pi and use terminal code ssh. So, I don't want type password to do that. What should I do?
0
votes
1answer
41 views

remote multiple raspberry pi using ssh without password

I using for i in <ip1> <ip2> ... <ipn>; do ssh pi@$ip sudo halt; done to turn off multiple raspberry pi. But i don't want iput password one by one for a lot of raspberry pi. So ...