# Jenkins ssh launch windows server2012 agent "\[SSH\] The remote user's environment is: ERROR: null"

**URL:** <https://community.jenkins.io/t/jenkins-ssh-launch-windows-server2012-agent-ssh-the-remote-users-environment-is-error-null/18103>\
**Category:** Using Jenkins\
**Tags:** windows\
**Created:** [August 12, 2024, 2:25am UTC](https://community.jenkins.io/t/jenkins-ssh-launch-windows-server2012-agent-ssh-the-remote-users-environment-is-error-null/18103 "2024-08-12T02:25:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hup1221](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/hup1221/32/9593_2.png) [@hup1221](https://community.jenkins.io/u/hup1221)\
**Post date:** [August 12, 2024, 2:25am UTC](https://community.jenkins.io/t/jenkins-ssh-launch-windows-server2012-agent-ssh-the-remote-users-environment-is-error-null/18103/1 "2024-08-12T02:25:19Z")

</div>

jenkins ssh launch windows server2012 agent “[SSH] The remote user’s environment is: ERROR: null”

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [August 12, 2024, 4:50am UTC](https://community.jenkins.io/t/jenkins-ssh-launch-windows-server2012-agent-ssh-the-remote-users-environment-is-error-null/18103/2 "2024-08-12T04:50:31Z")

</div>

Per the [Microsoft announcement](https://learn.microsoft.com/en-us/lifecycle/announcements/windows-server-2012-r2-end-of-support), Windows Server 2012 and Windows Server 2012 R2 stopped receiving security updates in November 2023. The Jenkins [support policy for Windows](https://www.jenkins.io/doc/book/platform-information/support-policy-windows/) classifies that as “Level 4 - unsupported”.

The [OpenSSH server for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse) lists Windows Server 2022, Windows Server 2019, Windows 11, and Windows 10 as the versions that support the Microsoft OpenSSH server.

I think that you’re more likely to be successful using an inbound agent from Windows Server 2012 to the Jenkins controller rather than trying to manage the agents with SSH.

---

<div class="post-metadata">

**Author:** ![hup1221](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/hup1221/32/9593_2.png) [@hup1221](https://community.jenkins.io/u/hup1221)\
**Post date:** [August 12, 2024, 6:45am UTC](https://community.jenkins.io/t/jenkins-ssh-launch-windows-server2012-agent-ssh-the-remote-users-environment-is-error-null/18103/3 "2024-08-12T06:45:48Z")

</div>

> [@MarkEWaite](#):
>
> Jenkins 控制器的入站代理

Thanks for your reply, I will try the solution you recommended.
