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
3
votes
3answers
12k views

Cannot ssh into Pi3

Ok, Ive read the other ssh related questions, but cannot seem to find one that matches my exact issue. Having just built a Pi3 with XBMC and Kodi17.1 (NOOBS installation of XBMC), I tried to ssh into ...
3
votes
3answers
10k views

Raspbian SSH (PuTTY): Server unexpectedly closed network connection (Firewall OFF)

I just got a RPi 3 model B and installed Raspbian on it. Using built-in WiFi, I connected it to my router and was able to download and install TightVNC. I installed RealVNC on my laptop and was able ...
3
votes
2answers
673 views

Connect to Pi using SSH without having internet

I have an Ethernet cable from my MacBook to my Pi. I would like to control my Pi using SSH. If I check ifconfig on the Pi then I see my inet addr is 169.254.132.204. Is it possible to set up an SSH ...
3
votes
2answers
1k views

Unable to use SSH from internet though it works fine over local network

I am having trouble accessing my Pi from the internet using SSH. I have been searching around a number of websites, seen similar but not exactly the same issues as mine so hope someone on here can ...
3
votes
1answer
114 views

SSH into Pi always fails on first attempt

I use PuTTY and a Wi-Fi dongle to SSH into my Pi. It ALWAYS times out on the first attempt and then when I close PuTTY and re-open it, I can SSH into the Pi. Any ideas why this is happening? EDIT: ...
3
votes
1answer
4k views

OSMC Direct Title Playing Via SSH Command

I'm trying to control my OSMC via SSH. I'm sending commands via an SSH link with a Crestron Control system and want to play files directly from that interface as well as stop play and any other ...
3
votes
2answers
6k views

SSH terminal plugin for OSMC on Raspberri Pi

Is there a way to open a console inside OSMC with a HDMI screen connected? I know, I could connect via SSH from another computer, but I would prefer to edit the server stand-alone. Note: I managed ...
3
votes
2answers
4k views

SSH into Raspberry Pi times out, ping can't reach host

I've set up Avahi to have a static IP address (raspberrypi.local). For the time being I use an Ethernet cable for Raspberry Pi and Wi-Fi for Mac. Everything works fine connecting with my Mac: ssh ...
3
votes
1answer
2k views

Can´t upload data via SFTP

I tried to upload a folder on my Raspberry Pi using Cyberduck SFTP, this has ALWAYS worked for me, but now it doesn´t I have no idea why. Thank you in advance.
3
votes
3answers
801 views

How to create an EGL window on HDMI monitor output through SSH?

I'm running an OpenFrameworks app on my Pi. It creates an EGL window for the graphics program. I have my Pi plugged into a TV with HDMI. This works, but I have to sit right in front of my TV which is ...
3
votes
1answer
3k views

I want my Raspberry Pi to be my Crashplan server but it only shows Raspberry Pi's directories, not my Mac's directories

I followed this tutorial to set up a way to wirelessly backup my Mac to an external hard drive connected to the Raspberry Pi. All the steps went smoothly and I managed to mount and search the drive on ...
3
votes
1answer
292 views

RPi 3B+ stops responding to SSH and crashes

I've got a Raspberry Pi 3B+ running Raspbian Stretch that I've been using successfully for months to run my Home Assistant instance. I've been connecting to it using SSH and it's always worked fine. A ...
3
votes
1answer
575 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 #...
3
votes
1answer
3k views

How do I run a shell file on startup (before login)? [duplicate]

I have a bash file I want to run when I turn on the Pi. I have seen a few solutions utilizing init d or adding it to some other file or directory, but the problem is that when I sign in with SSH they ...
3
votes
1answer
542 views

Controlling multiple RPis using SSH (no infrastructure network available)

My goal is to be able to access multiple Raspberry Pi Zero Ws (3-5) simultaneously through SSH from a laptop running Linux. This has to be done in an area where there is no infrastructure network ...
3
votes
1answer
82 views

How can I get a user-level command to run on or after boot?

I have a Raspberry Pi 2 running behind a firewall that prevents inbound SSH connections, so I get the Raspberry Pi to create a reverse SSH tunnel to an external server so that I can get an SSH ...
3
votes
1answer
95 views

Running a small HTLM5 website on a RPi3B when it has no fixed IP [closed]

I'm planning on making my first web-server. My plan is to use a RPi3B (or RPi3A if it comes without wifi and bluetooth, but with ethernet) for it. But because I'm new to web-servers I've a couple of ...
3
votes
1answer
161 views

SSH via Raspberry Pi's working Domain

I've got a working domain for my Raspberry Pi to which I can ping to. I forwarded the port for SSH (Port 22) on my router as well, but I still cannot connect from outside to my Raspberry. Connecting ...
3
votes
3answers
5k views

Cannot SFTP into Retropie

I have installed BerryBoot on a microSD card which I use with a Raspberry Pi 3. On this card, I now have a quadruple boot: Raspbian, UbuntuMATE, OpenELEC and Retropie. I am able to launch all ...
3
votes
1answer
2k views

How do I configure Ubuntu to recognize raspberrypi.local?

When I connect my Mac to the Raspberry Pi directly via an ethernet cable, in the terminal, I can type: ssh pi@raspberrypi.local No special configuration is required. On my Ubuntu Linux machine, I ...
3
votes
1answer
1k views

SSH over internet. Connection time out

This question seems to come up a lot, but none of the answers seem to work for me. I'm trying to connect to my RPi over the internet, but when I try to connect over the internet (with putty) using a ...
3
votes
1answer
378 views

Raspberry Pi unreachable from network

2 days ago I've setup a Raspberry Pi 2 as a Mopidy player. It worked fine until today. I wanted to re enable the radio stream but I could neither connect via MPD nor the browser nor SSH (from 3 ...
3
votes
1answer
218 views

my usb wifi dongle only turns on when pi is also connected via ethernet

(Using ubuntu 14 on a laptop) I followed this guide to set up my wifi by sshing into the pi via ethernet. I checked my routers networks settings and it showed two ip addresses from the pi, and I could ...
3
votes
1answer
4k views

Shell and ssh locale issues on Raspbian

I'm trying to configure my Raspbian to support console output in my native language (Polish). After updating my locale preferences (I chose pl_PL.UTF-8 as my default locale), I ran a test - I typed ...
3
votes
2answers
6k views

SSH or Console in XBian1.0Alpha3

I am running Xbian1.0Alpha3 on my RaspberryPi model B. I was wondering how to switch to linux console from graphical view, I could not find out. Does anybody know ? Another issue is SSH, I found on ...
3
votes
0answers
42 views

Not able to ssh into RPI Zero W with raspbian Lite?

I have for weeks now tried to ssh into my RPI zero, and I cannot figure out what is wrong here. I've been using this guide https://desertbot.io/blog/ssh-into-pi-zero-over-usb. The installation ...
3
votes
0answers
3k views

Connect from Windows 10 to Raspberry Pi Zero over USB

I am trying to connect RPi Zero from Windows 10, Was following this tutorial https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget For some reason laptop is not ...
3
votes
1answer
361 views

How to host Wi-Fi on Raspberry Pi 3 for local SSH connection [duplicate]

I've got a Raspberry Pi 3 B and I'd like to be able to remotely control it even when I can't establish a connection to any Wi-Fi router. I'm using my Android phone as a remote access device, it has ...
3
votes
0answers
1k views

Unable to SSH to Pi 3: All ports are closed [duplicate]

I have a Raspberry Pi 3. It's brand new. Didn't connect before. It has the NOOBS-software already pre-installed on its SD card (didn't do it myself. It was included in the purchase. I've connected my ...
3
votes
1answer
350 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<---->...
3
votes
0answers
432 views

How can I fix hanging SSH on Raspbian?

When I log in through SSH on my Raspberry PI 2 i can work for a couple seconds then the connection breaks. I get the error: packet_write_wait If I pin the host I get something like: Request timeout ...
3
votes
0answers
362 views

Using Pi 2 as a media center AND git server

I would like to use my Raspberry Pi 2 mainly as a media center but also as a private git server for small projects like LaTeX documents. My goal is to be able to set this server as a remote repo to ...
3
votes
7answers
16k views

SSH host unreachable on PI

Both my laptop and my raspberry pi b+ are connected to a wifi router in the house (to which I do not have direct access). I ran ifconfig to find the pi's ip and tried to ping the pi from my laptop, ...
3
votes
0answers
300 views

startx over ssh, output to hdmi [duplicate]

I use the Raspian Wheezy image on my Pi and I'm facing a small problem regarding the hdmi-output. Usually, I have to "plug in" the hdmi-cable (4:1 hdmi switch) and then the Pi to get a video signal to ...
3
votes
5answers
9k views

Pi desktop through PuTTY and Xming

I am trying to connect my Pi to my laptop, I have finished installing the OS and through PuTTY and Xming, I am trying to setup the connection but now startlxde command doesn't work. Can someone help ...
3
votes
3answers
6k views

Accessing raspberry pi remotely without static IP?

I have an pi connected to a machine, i can access the machine from a PC which is connected to the LAN, if i use my static IP i can access the machine from anywhere, but the problem is, An LAN with ...
3
votes
3answers
4k views

Tunneling Video Over ssh

I am trying to view a live stream from the raspberry pi remotely. I am using motion software to record and stream the video. I am able to view the video locally. I am trying to view it remotely by ...
2
votes
6answers
11k views

How to Copy files Off a Raspberry Pi

I'm at a point where I am trying to get some files off a SD Card that I used in an old Pi. I thought it would be easiest to use FileZilla to simply copy and paste the files from my Pi to my laptop. If ...
2
votes
3answers
7k views

SSH to Pi through putty Connection Refused (Raspbian Wheezy)

I just got a RPi2 Model B a few weeks ago and just started to program with it. I am trying to connect to the Internet for the project I am doing. So the OS is installed on my SD the only problem I am ...
2
votes
3answers
1k views

How can you mirror the raspberry display?

I'm using my pi as a bitcoin miner and to start the mining program I use putty. However when I close putty it also stops my miner. What I'm wanting to do is start the mining program from the pi itself ...
2
votes
4answers
34k views

SSH Permission Denied, Please try again

I ran some usermod command, through SSH, now I can't get back into my Pi by using the line that worked before (ssh pi@192.168.x.x) because it says 'Permission denied, please try again'. I tried ...
2
votes
3answers
6k views

reboot raspberry remotly from webserver

I have many raspberries located in different places. All of them are connected to my website and download videos to show on their respective monitors. Is it possible to send some command from my ...
2
votes
2answers
15k views

Why “Server refused our key” when trying a SSH connection with Putty

Why do I get Server refused our key when trying to connect using SSH connection with Putty and when everything has been configured according to all the Tutorials? Generating the pair of keys from ...
2
votes
3answers
9k views

How the remove the Raspberry Pi Version message after login

I've got a cool custom MOTD that shows up after the login. But before my MOTD a line of text with the kernel version and wrong date shows up: login as: pi pi@pi's password: Linux raspberrypi 3.6.11-...
2
votes
2answers
337 views

Does my RPi uses video RAM for tunneling X over ssh?

I use my Pi in headless mode, and I like to use X over SSH occasionally to run graphics only apps like the Pi store, and a few of my programs. I'd like to increase my RAM by decreasing GPU RAM, in ...
2
votes
2answers
11k views

Rpi running XBian. How to transfer files quickly over the network?

I have a RPi running XBian (XBMC). It is connected to my home network through an ethernet cable. My laptop is connected via wifi. I have few HDDs connected to the Rpi via USB. My goal is to quickly ...
2
votes
2answers
71 views

Unable to access Pi over ethernet, but over Wifi-works

I've had my Raspberry pi 3 for a couple of years and everything has worked fine. A week ago I bought a new router + AP and the Pi could connect (through ethernet to my router as well as the Wifi) ...
2
votes
2answers
109 views

Would incorrect time/date data prevent SSH into the pi?

my work has a Raspberry Pi that we use to run our test scripts, and we have been trying, and failing, to SSH into the pi. We have a Raspberry Pi 3, and are even on the same network, so SSH should be ...
2
votes
1answer
787 views

Internet traffic rules between wlan0 and eth0

I currently have a setup where my rpi 3b (raspbian jessie), is connected to two routers, using eth0 and wlan0. I want to using eth0 only to communicate with another device in tha LAN. And i want to ...
2
votes
2answers
9k views

Raspberry Pi Reverse SSH Tunnel

i have at my school a raspberry pi 3 and i want to tunnel it directly over my windows pc at home. At my school i can't get a port forwarding and the raspi haven't a public IPv4. Now the Question: Is ...

1
3 4
5
6 7
24