Comments (9)
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.
@brayniverse yes the syntax is correct, but you can't pass a password to an ssh
command through options.
from envoy.
@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.
@brayniverse yep this is correct for specifying a port
from envoy.
@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.
@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.
@supernrm Ah that's cool, sorry my suggestion didn't work at least you have your workaround for now.
from envoy.
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.
mine wirks perfekly with @servers(['dev' => 'root@host -p 1234]) // dont need the space
from envoy.
Related Issues (20)
- Access server host inside a task HOT 5
- @servers to docker container HOT 1
- Support Microsoft Teams notifications HOT 1
- Accessing the server array when using multiple servers HOT 2
- delete cached Envoy.blade files HOT 2
- Multiple host patterns HOT 1
- Can't get value of snake case variables HOT 4
- Deprecated: file_exists() HOT 1
- Completion hooks as commands on remote server HOT 2
- Pass bash variables/arrays to php (and vice versa) HOT 1
- Localhost shell HOT 4
- upload file access HOT 1
- Access task/story name in @setup HOT 1
- PHP 8.2 Deprecated HOT 1
- support for the HostKeyAlgorithms and PubkeyAcceptedKeyTypes options HOT 2
- Artisan commands execute from original folder despite CDing to new folder!
- Request for Multiple Envoy Blade Files Support HOT 1
- Local task error or exit do not stop the script execution HOT 3
- ERROR: ssh: Could not resolve hostname HOT 5
- Feature request: re-use SSH connections? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.