WSL openssh-server incorrect permissions .ssh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu Windows Subsystem for Linux (WSL)
$ uname -srvmpio
Linux 4.4.0-19041-
(Prestep required to add port for access to windows firewall)
.ssh directory was set as 777 when 755 (minimum) is required for operation of authentication keys when trying to ssh -i /path-to-key/key user@domain.
Generally poor housekeeping. <3
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openssh-server 1:7.6p1-4ubuntu0.3
ProcVersionSign
Uname: Linux 4.4.0-19041-
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Sat Aug 8 08:44:02 2020
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SSHDConfig: Error: command ['pkexec', '/usr/sbin/sshd', '-T'] failed with exit code 127: Error getting authority: Error initializing authority: Could not connect: No such file or directory
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in openssh (Ubuntu): | |
status: | Triaged → Incomplete |
Hello Brian,
Thank you for taking the time to file a bug report.
Are you complaining about permissions of ~/.ssh directory ?
I have subscribed Patrick Wu, in charge for WSL1/2 releases but, to be honest, I'm not entirely sure what is the issue you're considering a bug here... could you better describe it ?
Since there is not enough information in your report to begin triage or to differentiate between a local configuration problem and a bug in Ubuntu, I am marking this bug as "Incomplete". We would be grateful if you would: provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New".
For local configuration issues, you can find assistance here: http:// www.ubuntu. com/support/ community