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
0answers
19 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 ...
0
votes
1answer
20 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 ...
-1
votes
0answers
41 views

How to connect via Ethernet cable from my laptop to the PI just configuring the microSD card?

I recently bought a Raspberry PI 3 B+. What I'd like to do: for an easier workflow, I want to connect to the PI via ssh just using a Ethernet cable. Issues: to make the connection work, I can only ...
0
votes
0answers
15 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
37 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
57 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
29 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
52 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
0answers
61 views

sudo raspi-config not letting me click/select/enter any of the options

My VNC has stopped working recently (i was using edge) but when I attempted to change my interface options (option 5) in order to use a VNC viewer applicaiton but sudo raspi-config won't let me select ...
0
votes
1answer
54 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
1answer
17 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
72 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
0answers
19 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
43 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
17 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
103 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
34 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
37 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
78 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
35 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
21 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
55 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
23 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
132 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
32 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
49 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
58 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
42 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
76 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 ...
1
vote
0answers
63 views

Why does my SSH connection only work sometimes, both when connecting and sending?

I have a Raspberry Pi Rev 3 Model B. I have used Tera Term's SSH to connect to my Pi many times in the past, although when I tried to connect yesterday it was the first time I had tried in about a ...
1
vote
1answer
31 views

Can't connect via SSH to RPi2

I have searched for old topics but I can't find anything that could solve my issue. I have installed Ubuntu MATE on SD card and created the ssh file on the boot\ directory. I connect the RPi2 ...
1
vote
0answers
28 views

Why does my pi keep telling me, port 443 network unreachable?

I am trying to download a public key from S3-amazonaws-com. I don’t have a Wi-Fi that is working, so I am letting my raspberry pi use my iPhone is personal hotspot instead. I am using the Wget ...
1
vote
1answer
436 views

Kali Linux, Cannot Generate New SSH Keys

I am trying to set up my Pi 3 B+ with kali linux to create a test box to practice some attacks. I am following these tutorials: Set Up an Ethical Hacking Kali Linux Kit on the Raspberry Pi 3 B+ Build ...
0
votes
0answers
49 views

Raspberry Pi - Cannot connect to Xserver via SSH

I'm using a raspberry pi with installed raspbian strech with desktop to visualize sound. My Code is working when I'm starting the python script via the terminal, but I want to start the script ...
1
vote
1answer
40 views

Remote dd a Raspberry Pi

I have a couple of Raspberry Pis running at different sites. I can access all of them over SSH and all of them are running read only file system. I need to fully replace the software on some of this ...
1
vote
1answer
35 views

SSH connection from Raspberry Pi to windows not working

I want to make Sync a folder in windows to raspberry pi, which is connected via ethernet cable. I could write a program in windows to perform this operation and it executes well. But I dont want to ...
0
votes
3answers
41 views

Cannot SSH Raspberry Pi Zero W on Windows via USB

I am using Raspberry Pi for the first time. I did the conventional setup that most people mentioned. This includes 1.Flashing Raspbian onto a SD card Edit Config/cmdline files and add an ssh file (...
0
votes
1answer
31 views

How to stream video with a 1km far RPI to a PC

I have a project which requires wireless video transmission I also use arduino there but to control motors, it uses hc 12. And I am wondering if I can stream real Tim video to pc. I can use another ...
1
vote
0answers
65 views

tmux over SSH: locale problem

I ssh to my Raspberry Pi running Raspian from my mac and try to run tmux, but I'm getting this error: tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 As suggested elsewhere, I commented #...
0
votes
1answer
81 views

Unable to ssh into Pi after turning it into a bridge

I'm trying to turn my Pi into a bridge using a wifi adapter and it's ethernet port plugged into the router through a couple floors worth of wires and switches. Doing so however removes me of the ...
0
votes
1answer
93 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 a xorg desktop session when connected to an ...
0
votes
1answer
31 views

Access from external network safely

I want to implement a home alarm system with raspberry and access it from the external network. To do it safely I thought, avoiding using http that scares me, to use a vpn to connect to the home ...
0
votes
1answer
691 views

Enable SSH on raspbian stretch-lite headless first time boot

I am on a mac. I have place a ssh.txt file in the boot partition on the SSD card with the raspbian lite img. When I go and plug my raspberry pi 2 in with the ethernet I cannot ping the pi with ping ...
0
votes
1answer
137 views

SSH Connection refused after first connection on wi-fi

After installing the Raspbian with NOOBS I was able to connect once to my Raspberry Pi model B3+. Now I am unable to connect again on port 22 with the following message: ssh: connect to host 192....
0
votes
1answer
395 views

ssh Access denied from putty for raspberry pi

I installed raspbian using NOOBS in raspberry pi 3 B+ . I enabled ssh in Pi .By typing ifconfig I obtained ip address .Using putty from windows I entered ip ,username and password I am getting access ...
0
votes
1answer
40 views

After installing raspbian I can't add ssh file

After I installed raspbian on the sdcard, the sd card disapear from the file explorer and I can't add a ssh file. If I plug out and in the sd card, windows ask me to reformat. How could I add the ...
0
votes
1answer
22 views

SSH showing “connection failed” after installing “pip”

Python3, pip3 and python was installed before on my Raspberry Pi. Today I've successfully installed pip using below command: sudo apt-get install python-pip After few hours later I'm not able to ...