On 4/21/17 8:17 PM, Colin Watson wrote:
> You appear to have manually removed /etc/ssh, so you'll have to recover
> from that manually too. Reinstall the openssh-client package as
> follows:
>
> sudo mkdir -p /etc/ssh
> sudo dpkg --configure openssh-server
> sudo apt install -oDPkg::options::=--force-confmiss --reinstall openssh-client
>
> I've committed a change to my Debian openssh repository to ensure that
> /etc/ssh exists before trying to create sshd_config within it, which
> would have helped somewhat with this.
>
> ** Changed in: openssh (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: openssh (Ubuntu)
> Status: New => Fix Committed
>
> ** Changed in: openssh (Ubuntu)
> Assignee: (unassigned) => Colin Watson (cjwatson)
>
there should be a way for all packages to get new .conf files after you
make messed up the one you have and you didn't back it up. :-/
Thx.
_______ _______ _______ ______
*Joe Saladino* [<email address hidden> <mailto:<email address hidden>>]
*Ph:* (208) 971-7570
On 4/21/17 8:17 PM, Colin Watson wrote: :options: :=--force- confmiss --reinstall openssh-client
> You appear to have manually removed /etc/ssh, so you'll have to recover
> from that manually too. Reinstall the openssh-client package as
> follows:
>
> sudo mkdir -p /etc/ssh
> sudo dpkg --configure openssh-server
> sudo apt install -oDPkg:
>
> I've committed a change to my Debian openssh repository to ensure that
> /etc/ssh exists before trying to create sshd_config within it, which
> would have helped somewhat with this.
>
> ** Changed in: openssh (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: openssh (Ubuntu)
> Status: New => Fix Committed
>
> ** Changed in: openssh (Ubuntu)
> Assignee: (unassigned) => Colin Watson (cjwatson)
>