Skip to content

Quick command to establish a CredSSP session with a remote computer

License

Notifications You must be signed in to change notification settings

nvarscar/enterssp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This Powershell module contains a single command Enter-SSP, which allows you to configure your local and remote computers to establish a secure Credssp session on the remote machine, which will work around limitations of a standard Kerberos session that was not properly configured for credentials delegation.

The established session would act as if you're logged locally on the remote machine and will be able to talk with other remote machines through Kerberos protocol without configuring delegation.

Installation

Note: if started from a non-elavated session, requires the module to be loaded automatically with session (be in one of the shared modules folder). Otherwise, the function will fail to start, as it will start a new elevated Powershell session automatically.

PSGallery:

Install-Module EnterSSP

Manual

git clone https://github.com/nvarscar/enterssp.git
Copy-Item .\enterssp "$([environment]::getfolderpath('mydocuments'))\WindowsPowershell\Modules" -Recurse 

Usage

# Connect to remote computer MyRemoteComputer and ask for credentials
Enter-SSP MyRemoteComputer

# Connect to remote computer PC2 with custom credentials
$cred = Get-Credential
Enter-SSP -ComputerName PC2 -Credential $cred

About

Quick command to establish a CredSSP session with a remote computer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published