gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

# Set the sshd service to be started automatically

Open GONNAGITU72 opened this issue 1 year ago • 0 comments

          # Set the sshd service to be started automatically

Get-Service -Name sshd | Set-Service -StartupType Automatic

Now start the sshd service

Start-Service sshd

ssh-keygen -t ed25519# By default the ssh-agent service is disabled. Configure it to start automatically.

Make sure you're running as an Administrator.

Get-Service ssh-agent | Set-Service -StartupType Automatic

Start the service

Start-Service ssh-agent

This should return a status of Running

Get-Service ssh-agent

Now load your key files into ssh-agent

ssh-add $env:USERPROFILE.ssh\id_ed25519steps:

  • uses: actions/checkout@v3

  • uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

  • name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: /install.sh

  • name: Build run: /build.sh

  • name: Publish package to public run: /publish.shsteps:

  • uses: actions/checkout@v3

  • name: Build run: /build-parent-module.sh

  • uses: actions/cache/save@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}steps:

  • uses: actions/checkout@v3

  • uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

  • name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: /install.sh

  • name: Build run: /build-child-module.sh

  • name: Publish package to public run: /publish.shsteps:

  • uses: actions/checkout@v3

  • uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} fail-on-cache-miss: true

  • name: Build run: /build.sh - name: Setup Node.js environment uses: actions/[email protected]

Originally posted by @GONNAGITU72 in https://github.com/github/docs/issues/31497#issuecomment-1932035980

GONNAGITU72 avatar Feb 07 '24 13:02 GONNAGITU72