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
158
votes
16answers
117k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
54
votes
10answers
144k views

Enabling SSH on RPi without screen - keystrokes for raspi-config?

I don't have a screen for my Raspberry Pi. I want to SSH into it, but I get Connection Refused, so I presume SSH is not enabled. As advised in other questions I have looked at enabling the ...
52
votes
4answers
68k views

SSH not working with fresh install

I recently liberated an old model B from the loft, put NOOBS on an SD card, and installed the latest version of Raspbian on it. I booted it up, attempted to SSH to it from my Mac, but got: ssh: ...
45
votes
2answers
90k views

Raspberry Pi not reachable via its hostname in LAN [closed]

My Raspberry Pi is not discoverable via its hostname in my LAN. I have a couple of other Ubuntu machines in the LAN, and they are all pingable via their hostnames. On my Raspberry Pi: pi@...
43
votes
6answers
72k views

Starting ssh automatically at boot time

I'm following a number of tutorials that explain how to setup an SD card that boots automatically enabling ssh in the process. I'm doing this as I only have a laptop and no spare keyboard, screen, etc....
39
votes
7answers
78k views

Cannot connect to raspbian jessie lite but to raspbian jessie

I've installed Raspbian Jessie with dd to my Pi1-B. Everything works fine and I can connect to it via ssh. I do not need any graphical system and want to keep the machine as simple as possible. ...
38
votes
4answers
71k views

SSH to RPi without a network connection?

Is it possible to SSH in to an RPi without a network connection? I could imagine that you could do it using a LAN cable from the computer to the RPi or maybe using a USB cable. I do actually have ...
35
votes
5answers
174k views

How do I change/recover my password?

I have made several personal configuration changes to a Raspbian Wheezy install (more secure ssh, personal configurations, etc). It's been a couple weeks since I last touched it, and I completely ...
35
votes
11answers
134k views

SSH into Raspberry Pi without knowing IP address

I have a Raspberry Pi connected to Ethernet and with a Mac (though USB cable). I'm trying to SSH in the Pi but I don't know the IP address. I have tried : ifconfig but I have I can't see eth0 lo0:...
28
votes
4answers
153k views

How to login as root remotely?

I am trying to login to the raspberrypi as root user via winscp, but it only says "Access denied", same thing for trying to login directly as root on ssh. I have tried loging in as pi and doing sudo ...
27
votes
13answers
10k views

Is there a way to set up a Raspberry Pi without a keyboard, mouse, or SD card reader?

To keep myself entertained during the COVID-19 pandemic, I've bought a Raspberry Pi. I thought that it would be possible to program it from my laptop over SSH using an Ethernet connection, but I've ...
21
votes
8answers
60k views

Set up a Raspberry Pi Zero W without monitor or ethernet module

I bought the new Raspberry Pi W but I don't have right now an mini-HDMI adaptor (to connect it to a monitor) neither an Ethernet module to connect by SSH. Can I connect somehow by SSH through USB? ...
19
votes
2answers
15k views

Raspberry Pi SSH login slow

I have raspberry Pi model B whith raspbian OS which has been working well for 2-3 months and since last week I've noticed that every time when logging in ( over ssh ) when inputting username there is ...
19
votes
6answers
52k views

X11 Connection Rejected Because of Wrong Authentication

I'm trying to run gparted on my Raspberry Pi. After logging in with ssh -X pi@pi and trying to run sudo gparted, I get the error message... X11 connection rejected because of wrong authentication. ...
19
votes
2answers
77k views

insserv: warning: script 'mathkernel' missing LSB tags and overrides

I'm trying to run: sudo update-rc.d avahi-daemon defaults But i get the error: insserv: warning: script 'mathkernel' missing LSB tags and overrides I've read that it has something to do with the ...
19
votes
11answers
65k views

Setting up SSH over internet on my Pi

This might be a simple question, but as I have read contradicting information from several resources (what? contradictions on the internet?) I wanted to know if I did everything I was supposed to. So ...
19
votes
4answers
86k views

Connected to the Internet, but can't ssh or ping

I'm having a problem with my Raspberry Pi where I can't ssh into or even ping it, yet I'm using it on my TV, and it's clearly connected to the network/Internet. I've used the attached keyboard to run ...
18
votes
3answers
2k views

Tell apart RPi 1 from RPi 2 via SSH only

I am connected to 2 Raspberry Pis via SSH. They are running the same OS (Raspbian in this case). How can I tell which one is Pi 1 and which one is Pi 2? I know how to identify the physical hardware ...
18
votes
3answers
31k views

How to set VNC security settings using SSH? `No security types supported. Server sent security types, but we do not support any of them`

With the latest Dist-upgrade, it appears the VNC security settings have been changed which means I cannot access my Pi through VNC until they are changed back. I have SSH access. As the Pi is over ...
17
votes
5answers
26k views

Wake console screen with SSH

Avoiding installing anything or rebooting, how can I "wake" the TTY1 display via SSH? None of the suggestions (Stopping Raspberry Pi display sleep) worked on my running Pi. From what I have read ...
17
votes
9answers
32k views

How do I discover the IP address of my headless RPi?

I've configured my RPi to be headless, and plugged it into my router. How do I discover the local IP address so I can ssh into it? Update: Lots of documents point out that you can log into the ...
16
votes
3answers
79k views

Enabling SSH by default on Raspbian Stretch

I have a Raspberry Pi 1 Model A running an image of Raspbian Stretch Lite. I've noticed that when I power on my pi and allow it to start up, I can't seem to SSH into it from my Mac laptop. First, I ...
16
votes
9answers
55k views

How to use SSH out of home network

I recently set up SSH on my Raspberry Pi. It has been going swimmingly, especially since I can control the computer through my iPhone with the app Server Auditor. Sadly, this only works through the ...
16
votes
1answer
20k views

Can't connect to Pi on local network via hostname.local on Windows

I'm setting up a Raspberry Pi for the first time, and have been SSHing into it on a Mac on the same network like so: ssh pi@raspberrypi.local However on my Windows 10 box (also on the same network) ...
16
votes
1answer
42k views

Run all online traffic through an PPTP VPN connection

I would love to run all outgoing traffic (particularly torrent and web) through an PPTP VPN connection (to be specific a StrongVPN.com VPN). Everything needed to setup and more important to startup ...
16
votes
1answer
19k views

How do I set up ssh keys to log into my RPi

Using ssh keys to log into your RPi is much more convenient than typing the password everytime. It's especially handy if you want to log in from automated scripts or use programs such as scp or rsync ...
16
votes
4answers
18k views

Controlling the HDMI output via SSH

I am yet to receive my Pi, however I've been looking into what I would like it to do. One of the features I am looking forward to is using it when it is plugged into my TV (via HDMI) to access the ...
15
votes
9answers
60k views

Copy files from OSX to/from Pi

I have a Pi running headless using ssh and Screen Sharing on OSX and tightvncserver on raspbian. Can I copy files from the Mac to/from the Pi using ssh or Screen Sharing (i.e. VNC) or do I need to ...
15
votes
5answers
33k views

Forward mouse and keyboard input to X session

I'm accessing my Pi via SSH. My network is too slow to actually forward the Pi's desktop back to my laptop, so I have a monitor connected to my Pi. When I startx through Putty, I see the desktop on ...
15
votes
4answers
161k views

Connect to Raspberry Pi over ssh: connection refused (from putty)

I have a raspberry running raspbian, and I want to connect over SSH, but something is happening. On the raspberry I have run nmap and port 22 says: OPEN; the ssh process is running and fine. But I ...
15
votes
2answers
19k views

How to gain remote access without a Monitor or TV? [duplicate]

Possible Duplicate: Prepare for ssh without a screen I just booted my Raspberry Pi for the first time and can not gain remote access. My Pi runs the recommended Debian image found at the ...
14
votes
7answers
52k views

How to get a good overview over used space?

Is there a command line package/application to get a good (maybe visual) overview over the free/used space left on Pi's SD-card. ls -lh is nice but it does not show me how much space the content of a ...
14
votes
4answers
63k views

Problems starting X

Just whacked Raspian on an SD card, and booted up my Pi. A message at the top says 'Use startx to start a graphical interface'. So I startx. I get a load of details: OS version; X version; all that ...
13
votes
3answers
32k views

X11 forwarding with Xming over SSH?

I've got SSH access, and I have Xming installed, along with Xming fonts. I've configured PuTTY to forward x11 and told it to place the desktop at localhost:0, according to the instructions here. ...
13
votes
10answers
133k views

SSH “connection refused” on Raspberry pi - cannot find why

I have the following problem SSH "connection refused". It would work fine, but while I am working on the SSH, I would get "connection refused" and would have to re-connect (which does not occur for ...
13
votes
1answer
7k views

Do_ssh failing in initial setup

I set up my Pi, and I get output to a screen / keyboard working etc. However, when I run raspi-config, and pick the SSH option I get Initial ssh key generation still running. Please wait and try ...
13
votes
3answers
28k views

Cannot connect to RasPi by SSH with WiFi interface only

I'm observing really annoying issues with connectivity to RasPi on WiFi network. I have device connected on both LAN cable and WiFi. If both cable and WiFi dongle are plugged - both interfaces are ...
13
votes
6answers
11k views

How to connect and use ssh without a screen using BUILDROOT

I want to build a minimal system for raspberry pi (B+) to improve the performance of my face detection algorithm ... I have found BuildRoot : for the configuration i found that it's not necessary to ...
12
votes
6answers
25k views

Raspberry Pi connected to internet but can't SSH or Ping

I have a Raspberry Pi Model 2 running the newest version of Raspbian Jessie. My Pi is connected to the internet using an Edimax Wireless adapter, and I can download and browse the internet just fine. ...
11
votes
3answers
38k views

How to have remote desktop on Macbook with Raspberry Pi? [closed]

I want to ssh into the raspberry pi from a mac and be able to run an application with a basic GUI. SSH is already working and good. I thought it'd just be as simple as ssh -X myusername@mystaticip ...
11
votes
3answers
20k views

Raspberry Pi 3, wifi goes to sleep?

I'm facing a similar issue to this one, How do I disable suspend mode?, except I have a Raspberry Pi 3 and am running OpenELEC 6.0.3. When I leave it on without using it for awhile, I can no longer ...
11
votes
3answers
38k views

How to get the Raspberry Pi's IP address for SSH

I am using Mac OSx to access my Pi via SSH. To access it, I know that I need the Pi's IP address. So, I decided to use a few Python commands which have always succeeded in giving me the local IP. ...
11
votes
5answers
16k views

Why does my Raspberry Pi keep on rebooting?

I have a Raspberry Pi running Debian. The boot.rc file in the boot partition is replaced with the boot_enable_ssh.rc so that I can access it with ssh. After that did not work, I connected it to a ...
11
votes
3answers
19k views

Shutdown, reboot not working

I often SSH into my Raspberry Pi, which is connected to my network via a wired connection. The last time I tried to reboot it, though, it failed: pi@raspberrypi ~ $ shutdown now -bash: /sbin/shutdown:...
10
votes
5answers
62k views

connect to host port 22: Connection refused

I tried to use SSH to reach my Pi 3 ssh pi@192.168.100.3 but I get this message ssh: connect to host 192.168.100.3 port 22: Connection refused I install and install SSH but nothing has worked I ...
10
votes
5answers
46k views

How can I access my Raspbian Wheezy installation via SSH? Is it enabled by default?

Is SSH enabled by default on the Raspbian Wheezy 7 install image? And if it is, which IP address is used so I can access Pi via PuTTY and Filezila? Important! As per Philippe Lhardy's answer ...
10
votes
5answers
7k views

Initial setup without a monitor or keyboard

A similar question has been asked before: How to set up Raspberry Pi without a monitor? However, given that the accepted answer doesn't appear to offer an appropriate solution, and given that there's ...
10
votes
3answers
29k views

Shutdown Raspberry over ssh

to Shutdown my Raspberry I type sudo shutdown -h -P now this works fine when I am directly contected via USB Keyboard and Hdmi display but when Iam connected over SHH from my windows Pc using Putty it ...
10
votes
3answers
21k views

Remove SSH warning about default password

I'm running Jessie Pixel on my RP2 and every time I log in via SSH I get the message: SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - ...
10
votes
5answers
15k views

Raspberry pi remote access active session

When I remote access the raspberry pi with software now installed I do not get to access the current session displayed on my tv, but rather a new session. Is there software to access the current ...

1
2 3 4 5
25