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
4
votes
2answers
549 views

Can't SSH into Pi

I got my RPi a few days ago and I feel rather useless. This is for the very simple reason that I have yet to even be able to ssh into my pi. In other words, I have not logged into it, and I have not ...
4
votes
3answers
5k views

Raspbian Stretch SSH

I have a Raspberry Pi 3, which I have been running headless with Raspbian Jessie. Recently I flashed Stretch to my SD card, but when I boot that on my Pi, I can't connect to it over SSH. A little ...
4
votes
1answer
2k views

Raspberry Pi SSH lag slowness

I am experiencing issues with the Pi. When I try to work on the Pi through SSH I suddenly get lag. At the beginning it works fine, but intermittently the auto-complete or commands on the history take ...
4
votes
2answers
1k views

Can't access command line of Raspbian/Kodi on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
3
votes
3answers
3k views

Can I use ethernet to start Raspberry Pi for the first time

I bought a new Raspberry Pi Type B. The problem is that I dont have HDMI connectivity and Video o/p. Can I SSH into the box? After a brief search on google, I understand that SSH is not installed by ...
3
votes
3answers
862 views

Is my code too intensive on the cpu?

I am currently building a remote controlled car with the RPi model A+. I am using pygame to run a continuous loop to check the states of the desired keys on the keyboard(w,a,s,d) and based on that run ...
3
votes
3answers
3k views

How do I run a single line of code (with sudo) on boot up?

I'm creating a server on my RPi that's on a timer, so I want to have a command run at startup to begin the server processes. I've seen this: Execute script on start-up, but it doesn't explain it well ...
3
votes
3answers
3k views

Passwordless SSH isn't working

I have Raspbmc installed and I'm trying to get passwordless ssh working. I've copied over my public key, put is in ~/.ssh/authorized_keys2, and set the permissions to 600. However, I'm still getting ...
3
votes
3answers
502 views

Re-using SSH keys?

I'm now up to 4 SD cards with various version of Raspbian (Adafruit, Raspbian, Xbian, Raspbian Stripped Server), and I'm finding it annoying when I go to fool with another version that I have to edit ...
3
votes
5answers
5k views

Host Authenticity is questioned in terminal while trying to SSH

Why am I getting this warning when trying to SSH into my RPi2? It also happens when I try from my MBP. todd@dell-Vostro-3550:~$ ssh pi@10.0.1.53 The authenticity of host '10.0.1.53 (10.0.1.53)' can't ...
3
votes
4answers
26k views

Raspberry Pi remote connection using Xming and putty

I am trying to get started with raspberry pi, model B. As a way to avoid having to buy a monitor and hdmi cable and keyboard and mouse (no, I do not already have a tv, monitor, hdmi cable, usb keyboad ...
3
votes
4answers
16k views

Filezilla won't access pi via SFTP (Times out)

So I've been trying to get SFTP to work since it's my only option consider downloading is bugged, screenshot from putty: http://puu.sh/7upSc.png The download for that java SDK just stops at some ...
3
votes
2answers
91 views

How to use my Linux computer's internet connection in Raspberry Pi through a router?

I have connected my desktop computer (running Ubuntu 16.04) to my Raspberry Pi through a router (ethernet connection). My computer can access internet with USB tethering from my phone. I can SSH to ...
3
votes
2answers
1k views

SSH disabled by default

I'm quite new to raspberry and linux so this question might be easy to answer but i'm really clueless... I installed raspbian jessie and wanted to connect via ssh connection and putty. Unfortunately i ...
3
votes
3answers
2k views

Strange IP connected to ssh?

Just typed netstat and found this: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 304 raspberrypi.home:ssh ...
3
votes
1answer
4k views

Customize bashrc in OpenELEC

I'm running OpenELEC 3.2.0 on Raspberry Pi I'm trying to customize bashrc, the same way that we create/edit ~/.bashrc in individual GNU/Linux distributions. Which doesn't seem to be working on ...
3
votes
2answers
448 views

What is the PREEMPT in the ssh message?

When I'm login into the raspberry through ssh I'm receiving the following message Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l What does it mean the PREEMPT? Is that ...
3
votes
2answers
84 views

Raspberry Pi in client home and security

For a project, I got to put Raspberries in client's homes, by a lot of clients. I also have to be able to ssh to them, so I can update them. My solution for the ssh is to set up a VPN from a server ...
3
votes
1answer
842 views

Should I generate SSH keys for accessing the Raspberry Pi?

I access my Raspberry via ssh user@raspberrypi.local from my Mac. When doing this, I enter the password of the Pi user. I have tried to find ways to make my Raspberry more secure, and stumbled across ...
3
votes
2answers
8k views

Can't get Raspberry Pi's IP address (Headless Method) Unix/OSX

I have tried everything, from nmap to AngryIP scanner to PiFinder and i cannot find the IP address. How could I go about this using a complete and total headless method - because on top of it all the ...
3
votes
2answers
9k views

How can I run gparted over ssh?

I'm SSHing into my RPi, with X forwarding enabled. I'm trying to run gparted, but it seems to fail for me. $ gksudo gparted ====================== libparted : 2.3 ====================== The program '...
3
votes
2answers
3k views

SSH is unreachable for the second time

This might be a weird problem. I just fired up my B model and plugged in a WiPi. I connected to the network and I could reach the Pi via SSH in seconds. But when I disconnect it's unreachable: failed ...
3
votes
2answers
342 views

Can't establish SSH connection in systemd.service

I created following service: [Unit] Description=Server Tunneling After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=ssh -R server-login:80:localhost:8003 serveo....
3
votes
2answers
198 views

Editing script on local machine

I always edit and execute code on my Raspberry Pi via SSH and Vim. Can I open script on RPi in my Sublime Text on the local machine and after saving this script (CTRL + S), it'll save on RPi?
3
votes
1answer
2k views

How to generate stronger RSA host key in Raspbian?

How can I generate a new HOST SSH key for my Raspberry Pi using a 4096-bit key (on Raspian Stretch)? I've read any number of tutorials that explain how to regenerate the host SSH key, like this one: ...
3
votes
2answers
1k views

Can I SSH into my pi via a USB-to-USB connection with my laptop?

My laptop does not have a built-in ethernet port because it is new so I used to SSH with my pi via a USB-ethernet adapter but I recently went to Russia and forgot the adapter in the US and since I am ...
3
votes
1answer
2k views

Connect Nexus 7 tablet to Raspberry Pi Zero

I have a Google Nexus 7 (2013) tablet running Android 5.1.1. I have installed ConnectBot and use it to connect to various networks via ssh. I purchased a Raspberry Pi Zero and copied Raspbian Jessie (...
3
votes
1answer
197 views

init.d possibly caught in loop

I put the script "myscript.sh" with the following content into init.d: #!/bin/bash while : do raspistill -v --width 1920 --height 1440 --quality 10 -t 1000 -o /home/pi/webcam/current.jpg ...
3
votes
2answers
2k views

Disable Raspi-Config

I am able to view the output of the boot sequence of the RPi, however, I have no USB keyboard and so cannot get past the raspi-config screen. I also do not have a router, I have only a link-local ...
3
votes
2answers
1k 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. ...
3
votes
1answer
3k 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 ...
3
votes
1answer
933 views

SSH logins (non-root) on new install of FreeBSD

I'm setting up FreeBSD (12 Current) on a 512 MB Pi 1 - I've got it up and running and I have a login prompt on the monitor, but there aren't any wired keyboards in this part of the world... So, I ...
3
votes
1answer
266 views

Running py script as service and interact via ssh. tmux or screen?

I would like to run a python script wich is logging a nmea GPS stream from UART for a drone. And I want to see my scripts output in the terminal. The script starts just fine with the folowing setup: /...
3
votes
3answers
4k views

Accessing ssh over public ip address after configuring with VPN

I looked at this but it appears to be a guide to recovering a borked setup. Using PIA (Private Internet Access) and Openvpn, I can setup my raspberry to use a VPN. However, connecting to its public ...
3
votes
1answer
782 views

Unlock and Lock My Raspberry from an ssh Connection

I have my RasPi connected to my TV and was wondering how I could lock and unlock the gui via SSH. I disabled the autlogin on boot with purpose and I would like to be forced to connect an Keyboard for ...
3
votes
2answers
6k views

ssh: connect to host 192.168.1.49 port 22:No route to host (Wifi adapter on laptop)

I know the problem I am going to mention can be found everywhere, but none of the solutions proposed didn't help so I decided to ask for suggestions that may lead to a solution here, specialised for ...
3
votes
3answers
4k views

SSH and VNC insanely slow on RPi 2

I have a Raspi 2. I just installed Raspbian on it but the SSH session is insanely slow. I type something in the terminal, on my laptop and it appears in 10 seconds. I installed X11VNC and ran it ...
3
votes
1answer
5k views

connect the tty1 screen to my ssh session

I have a raspi and it has no mouse or keyboard. But I have connected a Hardware-screen on it. And what I want is to connect via ssh or telnet to it, and see on the Hardware-screen what I am typing via ...
3
votes
2answers
5k views

Dual boot for the rpi

Is it possible to have dual boot partitions on usb stick switchable by berryboot loader via vnc. I need to have a backup boot partition with raspbian Bootable on it. So that if my primary partition ...
3
votes
3answers
15k views

Why can't I connect to my Pi via VNC?

I have installed TightVNC on my Pi. I can SSH into the Pi just fine and start the server successfully. But then I can't seem to connect to it using a viewer. I am on OSX, so I've tried using the Java ...
3
votes
2answers
7k views

My password doesn't work over ssh

I am trying a headless install and using NOOBS v1.4.2 . I followed the instructions on this thread: Installing Raspbian from Noobs without display and changed the password on \os\Raspbian\os.json ...
3
votes
1answer
9k views

cannot ssh to raspberry pi - connection refused - How to setup raspberry pi without display?

I have new raspberry pi 2 model B and it came with NOOBS pre-installed. I don't have display so I connected raspberry pi to Ethernet so that I can connect to it by using my laptop via ssh. Both are ...
3
votes
1answer
6k views

How to start an X session on RPi via ssh

I have configured Synergy to control my RPi, which I have connected to my TV. But since the keyboard is remote and Synergy hasn't started when I boot my RPi, I've got a "chicken and the egg" problem. ...
3
votes
2answers
1k views

Odd ethernet problem - slow write speeds

I'm having an odd problem with the ethernet connection on my Pi. All examples below use wired connections. Copy file from laptop to Pi sd card (ssh,ftp,samba): 50-60 kb/s Copy file from Pi sd card to ...
3
votes
1answer
2k views

Cronjob not working - meant to post tot Twitter

I'm trying to get my Pi to post the amount of used RAM to Twitter. I'm using a script I modified myself from here, although I'm not very proficient in bash.. This is the file, it is located in /...
3
votes
1answer
500 views

Open An Image on Host While SSH'ed?

I'm SSHing into my raspberry pi 3 and would like to display and image or video that's being stored on the pi on the monitor its connected to. Not the monitor of the computer I'm using to SSH. How ...
3
votes
1answer
86 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 ...
3
votes
1answer
793 views

Switching to a different wireless network on a headless Raspberry Pi

I am running a headless Raspberry Pi and I have multiple wireless networks at home. I SSH into my Pi. Is there a command line way to switch which network the Pi is on? Yes, I realize that I will lose ...
3
votes
1answer
2k views

.bashrc file not being processed/loaded

Some time last week (week-ending April 16th), my raspberry pi stopped loading the .bashrc file whenever I connect to the unit. I have to manually run the .bashrc file using source for it to work. What ...
3
votes
2answers
19k views

SSH over wifi not working

I'm trying to connect Raspberry pi3 via ssh over WIFi. its not working. Raspberry Pi is able to connect to router's wifi but ssh shows error og@westside:~$ ssh -v pi@192.168.0.145 OpenSSH_7.3p1 ...

1 2 3
4
5
24