Git Product home page Git Product logo

Comments (8)

krishnasrinivas avatar krishnasrinivas commented on May 24, 2024

can you paste the command you use to start wetty?

from wetty.

rtwk avatar rtwk commented on May 24, 2024

Sure. I tried both

forever start app.js -p 3000
and
forever start app.js -p 3000 --sshhost public_ip --sshuser myuser --sshport 22

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 24, 2024

Ah, looks like ssh servers (localhost of wetty and public_ip) is configured to accept ssh connections only with pvt key auth and not user/pass.
You can either:

  1. configure /etc/ssh/sshd_config with "PasswordAuthentication yes"
    or
  2. start app.js with option "--sshauth publickey,password" and setup pvt/pub keys for passwordless login.

from wetty.

rtwk avatar rtwk commented on May 24, 2024

If I go for option 2, are to be set for the wetty or the server (public_ip)?
And is there a way to supply login/passwd automatically if I go for option 1?

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 24, 2024

For wetty. Check app.js source to get an idea of how ssh connections
happens.

On Fri, 10 Jul 2015 at 17:56 rtwk [email protected] wrote:

If I go for option 2, are to be set for the wetty or the server
(public_ip)?


Reply to this email directly or view it on GitHub
#23 (comment)
.

from wetty.

rtwk avatar rtwk commented on May 24, 2024

I have created keys with ssh-keygen and placed authorized_keys within the home directory of the user whom I want to log in. It does not spit 'Permission denied (publickey)' anymore but still asks for login and password.

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 24, 2024

That is because public key auth fails as it is not setup. note that you have to setup pub/pvt key auth between the machine running app.js and public_ip if dont want it to ask for username/password

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 24, 2024

Hey krishnasrinivas/wett,

Discover high quality jobs and connect with recruiters on LinkedIn.

- Krishna

Accept invite: https://www.linkedin.com/e/v2?e=0-iky2pyrl-ta&t=ssuw&ek=invite_guest&li=14&m=invite_guest&ts=india_a&sharedKey=ZAPMLVJz&invitationId=6107539864394227712

You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=0-iky2pyrl-ta&t=lun&midToken=AQFmrFVhGEd36Q&ek=invite_guest&loid=AQF_0lfU8yzKbAAAAVMJXVV2EDPCjsNqAy61AljucfWA9zWLCn4VXWp-dpnhcos-Ehlgpj70E5VfOqm5qmRy_webvQHc3uK9KnWFJG7lPRTT2mvS3ibTv9ziCvsffysUp8zt28QRGEKQ0mel1vJy3RWGbLBAhRaeBJR_D5y1Wg46tSX8_w6mFLAqXm8X5G4afEyE&eid=0-iky2pyrl-ta

This email was sent to [email protected].

If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=0-iky2pyrl-ta&a=customerServiceUrl&ek=invite_guest

© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.

from wetty.

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.