Coder Social home page Coder Social logo

Comments (9)

brayniverse avatar brayniverse commented on April 29, 2024

Or
@connection(['web' => '[email protected] -p 8080'])

Not sure if the syntax is correct (I'm on my mobile and can't check) but earlier I tried -p earlier to pass a password but it kept giving me a 'wrong port number' error.

from envoy.

mn7z avatar mn7z commented on April 29, 2024

@brayniverse yes the syntax is correct, but you can't pass a password to an ssh command through options.

from envoy.

brayniverse avatar brayniverse commented on April 29, 2024

@mantasradzevicius yea I figured out that I needed a publickey to bypass the password phase of accessing my server.

When you say the syntax is correct do you mean for specifying a port?

from envoy.

mn7z avatar mn7z commented on April 29, 2024

@brayniverse yep this is correct for specifying a port

from envoy.

brayniverse avatar brayniverse commented on April 29, 2024

@mantasradzevicius Brilliant thanks for verifying. @supernrm Did you get this working for you? If so I'm sure Taylor will appreciate a closed issue :)

from envoy.

supernrm avatar supernrm commented on April 29, 2024

@brayniverse no, this is not implemented yet, Taylor knows about it, please look:
https://twitter.com/supernrm/status/433300247821840385

Temporary workaround is use /.ssh/config with specified port there.

edit: "Did you get this working for you?" Did you mean "-p xxxx"? No, this is not working, and should be "user@host:port" IMHO.

from envoy.

brayniverse avatar brayniverse commented on April 29, 2024

@supernrm Ah that's cool, sorry my suggestion didn't work at least you have your workaround for now.

from envoy.

dammyammy avatar dammyammy commented on April 29, 2024

Apparently one needs an envoy self-update first and

@servers(['production' => '[email protected] -p7822']) // it work with -p7822 not -p 7822
Just gave it a try and it works

from envoy.

DeathPoison avatar DeathPoison commented on April 29, 2024

mine wirks perfekly with @servers(['dev' => 'root@host -p 1234]) // dont need the space

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.