[Bug 1429938] Re: stopping ssh.service closes existing ssh connections

Jason Gerard DeRose jason at system76.com
Wed Mar 11 18:59:56 UTC 2015


So interestingly, this isn't happening when I just type these commands
into an SSH session. But if you create a script like this in say
/tmp/test.sh:

#!/bin/bash
apt-get -y purge openssh-server ssh-import-id
apt-get -y autoremove
shutdown -h now

And then execute this through an ssh call like this:

$ ssh root at whatever /tmp/test.sh

I get the disconnection problem.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1429938

Title:
  stopping ssh.service closes existing ssh connections

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1429938/+subscriptions



More information about the Ubuntu-server-bugs mailing list