Hi, thanks for taking the time to file a bug. Based on that last message
from SSH it makes me wonder if the syntax you have is correct.

1) Can you confirm PermitUserEnvironment is set to yes in your
sshd_config?

2) Can you provide more details of the line in question in your
authorized keys file? For example, if I add:

environment="FOO_BAR=1" ssh-rsa AAAAB

then connect:

root@x:~# env | grep -i foo
FOO_BAR=1

This question may also be better suited for the community forums as it
is more of a support issue.

** Changed in: openssh (Ubuntu)
       Status: New => Incomplete

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771011

Title:
  Doesn't accept environment variable with underscore in its name in
  AuthorizedKeysFile

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to