Questions tagged [openssh]

OpenSSH is a secure shell implementation used on Raspbian.

For more about the SSH protocol and its common uses, see Wikipedia.

23 questions
10
votes
3 answers

How do I restart sshd on raspbian?

How do I restart sshd on raspbian stretch? This does not work: pi@raspberrypi:~/.ssh $ sudo systemctl restart sshd Failed to restart sshd.service: Unit sshd.service not found.
5
votes
2 answers

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 discovered one possible solution is to replace the SSH…
clearlight
  • 259
  • 2
  • 9
3
votes
1 answer

How do you change the SSH port number?

We just got a new router (Vodafone THG3000g) and it doesn't allow port forwarding for port 22. This means I can SSH in locally but can't do it remotely using the public ip. I should be able to do port forwarding for a different port on the router,…
lukenm
  • 193
  • 2
  • 2
  • 7
1
vote
1 answer

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 and I would like to do this over SSH. I know it is…
www.jensolsson.se
  • 363
  • 1
  • 3
  • 9
1
vote
1 answer

Cant install any software on ubuntu mate

whenever I try to install openssh server or client, or any other software, it shows broken packet system. and the message comes as, udev: Depends: libgcc1 (>= 1:3.5) but 1:6.0.1-0ubuntu1 is installed Depends: libudev1 (= 229-4ubuntu10) but…
Bappa
  • 33
  • 5
1
vote
3 answers

Raspbian using outdated openssh

I have been setting up a simple server, and was worried about some security risks. I found that the Pi is running openssh 6.7, when the most up to date version is 7.5. Tenable Nessus says this leads to multiple security vulnerabilities that can be…
BarrowWight
  • 335
  • 1
  • 4
  • 10
1
vote
1 answer

Raspberry PI SSH randomly closes connection

Initial Connection to the RPi is flawless, even with VS Code Remote Dev. But after some time (without special command) the RPi closes the connection ("Connection to 10.0.0.11 closed by remote host"). In Debug mode it says following right…
1
vote
4 answers

SSH "Connection Reset" immediately after Conncting

I've had my Raspberry pi 4 setups for a while. Using it as a VPN, Plex, and basic WordPress host. I've been using SSH for a while and it worked fine. I've recently caused an issue where immediately after connecting over SSH, my Raspi closes the…
Awbmilne
  • 126
  • 1
  • 5
1
vote
2 answers

Raspbian Stretch unable to start SSH on boot: Problem starting ssh on boot exit 255 when executing ssh -D $SSHD_OPTS?

When I boot my Raspberry pi running Stretch 9, the syntax checks out alright, but when it goes to start the following error is what it gets: pi@hostname:~ $ sudo systemctl status ssh.service * ssh.service - OpenBSD Secure Shell server Loaded:…
leeand00
  • 714
  • 2
  • 9
  • 23
1
vote
1 answer

Ubuntu server : SSH by default (setup without monitor)

I need to setup a Raspberry Pi 4 without a Monitor, I want to run a light version without GUI just to run some docker, I though Ubuntu Server was a good idea. I try to add a SSH file on the microSD like I would with raspbian but that don't seems to…
Kevin
  • 237
  • 1
  • 4
  • 13
0
votes
2 answers

Programming a Raspberry over SSH or Wifi?

So I am planning to host a discord bot on a raspberry pi zero w and I do have a spare monitor( for the programming part), but the monitor wouldn't work when I plug it in and I also don't have one of those mouse+keyboard things, so I have done a bit…
0
votes
1 answer

How to achieve multiple independent sessions into a Raspbian Pi3

I have a certain Pi3 OUTSIDE that is collecting multiple data values at specific intervals. From that data set it is possible to generate various types of plots in gnuplot. I would like to be able to connect into it multiple times in order to…
SDsolar
  • 2,378
  • 8
  • 26
  • 43
0
votes
1 answer

How to stop console xscreensaver from affecting remote connections?

I have a Pi 3B set up as a workstation. Naturally I want xscreensaver to kick in at some point then lock it some time later. That all works fine. However, I also use xrdp with Windows Remote Desktop to monitor a live gnuplot graph from a PC at the…
SDsolar
  • 2,378
  • 8
  • 26
  • 43
0
votes
1 answer

Can't connect via SSH

I know this has been asked before but all the threads I see are locked. I have had the unit reconstruct the SSH keys, turned on SSH and changed my password though not the user name. I am able to sign in directly with new password when the Pi is…
0
votes
1 answer

Raspberry Pi disconnects from ssh intermittently

I have a brand new Raspberry Pi 4B running a fresh install of Raspberry Pi OS full. My intent is to use it primarily over ssh. I'm not currently using wifi for this, just an ethernet connection directly from the pi to my laptop (Windows 10 machine)…
1
2