Comments (5)
Yes. Good one. I don't thing I can work on this pretty soon.
For now you can a port forward tool. Forward all traffic to your
localhost:22 to the port you want on the remote server.
I welcome patches. This is the place you need to work on:
https://github.com/arunoda/nodemiral/blob/master/lib/session.js
On Tue, Feb 18, 2014 at 9:51 AM, Wei Meng [email protected] wrote:
Hi arunoda, today when I tried meteor-up on a server with ssh service
listening on non-default port (22), it seemed that meteor-up didn't support
this scenario yet. I tried to append ":port" to the host field and tried to
add a new field "port" in mup.json but both failed. I took a glance at your
code then and found meteor-up didn't support port yet and it used your
another package nodemiral to do scp operations and I didn't see nodemiral
support specific port either.According to scp help, -P parameter is for port. Could you please add this
support to meteor-up and nodemiral? Thanks a lot.usage: scp [-12346BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2—
Reply to this email directly or view it on GitHubhttps://github.com/zodern/meteor-up/issues/26
.
Arunoda Susiripala
@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda
from meteor-up-legacy.
I found a quick fix to this.
Insert the following if statement at line 39 in the file
https://github.com/arunoda/meteor-up/blob/master/lib/actions.js
[ just before "sessions.push(nodemiral.session(host, auth, options));" ]
if (server.port) { options.ssh.Port = server.port }
Then 'port' joins 'host, 'username', 'password' and 'pem' as a config property in the 'servers' part of the config file.
Works for me.
from meteor-up-legacy.
Exactly. That's clever. Can you send me a Pull Request on this. I'm happy
to accept.
rather than for just for the port, allow to configure any SSH option.
So, we can accept an object called sshOptions
from the mup.json
.
Arunoda Susiripala
@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda
On Thu, Mar 27, 2014 at 5:34 AM, Rick Golden [email protected]:
I found a quick fix to this.
Insert the following if statement at line 39 in the file
https://github.com/arunoda/meteor-up/blob/master/lib/actions.js
[ just before "sessions.push(nodemiral.session(host, auth, options));" ]if (server.port) { options.ssh.Port = server.port }
Then 'port' joins 'host, 'username', 'password' and 'pem' as a config
property in the 'servers' part of the config file.Works for me.
—
Reply to this email directly or view it on GitHubhttps://github.com/zodern/meteor-up/issues/26#issuecomment-38755648
.
from meteor-up-legacy.
done.
zodern/meteor-up#35
from meteor-up-legacy.
merged #35 and released under 0.3.0
from meteor-up-legacy.
Related Issues (20)
- Verifying deployment: FAILED; curl: (56) Recv failure: Connection reset by peer HOT 2
- unable to deploy with meteor 1.4.2 HOT 5
- docker not restarting on meteor app crash
- Deploy is successful but app not working on server
- publishing more ports?
- How to Revert Mup version
- Verifying deployment: FAILED, assert.js:93 throw new assert.AssertionError HOT 2
- Invoking deployment process: FAILED when mupx deploy HOT 1
- cd /
- Add settings to install MongoDB on a separate target
- mup deploy failing
- Deployment failure Mupx meteor 1.4.2.3 HOT 2
- command not found
- setup failed HOT 1
- when trying to setup
- is this repo still under support ? HOT 1
- deployment failure with bcrypt! HOT 1
- Deployment Failed | Start Meteor -failed
- mupx deploy error
- Archive repo
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 meteor-up-legacy.