Coder Social home page Coder Social logo

Comments (2)

driesvints avatar driesvints commented on May 9, 2024 1

If the PR isn't too complicated then I think we could accept something 👍

Nr. 3 looks best to me.

from envoy.

fh32000 avatar fh32000 commented on May 9, 2024

Here are a few suggestions for adding support for the HostKeyAlgorithms and PubkeyAcceptedKeyTypes options in the laravel/envoy package:

1- Add a configuration option to the laravel/envoy package to allow users to specify the HostKeyAlgorithms and PubkeyAcceptedKeyTypes options. Users could then set these options in the envoy.php configuration file or as environment variables.

2- Add a new ssh directive to the laravel/envoy package that allows users to specify the HostKeyAlgorithms and PubkeyAcceptedKeyTypes options. Users could then specify these options in their Envoy.blade.php script, like this:

@ssh(['HostKeyAlgorithms' => '+ssh-rsa', 'PubkeyAcceptedKeyTypes' => '+ssh-rsa'])
@servers(['web' => '[email protected]'])

@task
deploy_code() {
    cd /home/pidcehzw9w1i
    ...
    

3- Add a new option to the @servers directive that allows users to specify the HostKeyAlgorithms and PubkeyAcceptedKeyTypes options. Users could then specify these options in their Envoy.blade.php script, like this:

@servers(['web' => '[email protected]', 'options' => ['HostKeyAlgorithms' => '+ssh-rsa', 'PubkeyAcceptedKeyTypes' => '+ssh-rsa']])

@task
deploy_code() {
    cd /home/pidce

from envoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.