Reader small image

You're reading from  Mastering Windows PowerShell Scripting (Second Edition) - Second Edition

Product typeBook
Published inOct 2017
PublisherPackt
ISBN-139781787126305
Edition2nd Edition
Right arrow
Author (1)
 Brenton J.W. Blawat
Brenton J.W. Blawat
author image
Brenton J.W. Blawat

Brenton Blawat has been a successful entrepreneur, strategic technical advisor, and engineer who has a passion for the procurement of technology in organizations. He is business-centric, while being technology-minded, and has had many years of experience bridging the gap between technical staff and decision makers in organizations. Brenton prides himself on his ability to effectively communicate to a diverse audience and provide strategic direction for small and large organizations alike. Throughout his career, he has worked for a multitude of Fortune 500 organizations, and specializes in delivery automation and workflow optimizations.
Read more about Brenton J.W. Blawat

Right arrow

The double-hop problem


The double-hop problem describes a scenario in PowerShell where remoting is used to connect to a host and the remote host tries to connect to another resource. In this scenario, the second connection, the second hop, fails because authentication cannot be implicitly passed.

There have been numerous articles discussing this problem over the years. Ashley McGlone published a blog post in 2016 that describes the problem and each of the possible solutions:

https://blogs.technet.microsoft.com/ashleymcglone/2016/08/30/powershell-remoting-kerberos-double-hop-solved-securely/

This section briefly explores using CredSSP, as well as how to pass explicit credentials to a remote system. Neither of these options is considered secure, but they require the least amount of work to implement.

The two options discussed as follows are therefore useful when:

  • The remote endpoint is trusted and has not been compromised.
  • Critical authentication tokens can be extracted by any administrator on the...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Windows PowerShell Scripting (Second Edition) - Second Edition
Published in: Oct 2017Publisher: PacktISBN-13: 9781787126305

Author (1)

author image
Brenton J.W. Blawat

Brenton Blawat has been a successful entrepreneur, strategic technical advisor, and engineer who has a passion for the procurement of technology in organizations. He is business-centric, while being technology-minded, and has had many years of experience bridging the gap between technical staff and decision makers in organizations. Brenton prides himself on his ability to effectively communicate to a diverse audience and provide strategic direction for small and large organizations alike. Throughout his career, he has worked for a multitude of Fortune 500 organizations, and specializes in delivery automation and workflow optimizations.
Read more about Brenton J.W. Blawat