GithubHelp home page GithubHelp logo

hi about bastillion HOT 3 CLOSED

Stevenhuangqian avatar Stevenhuangqian commented on August 22, 2024
hi

from bastillion.

Comments (3)

skavanagh avatar skavanagh commented on August 22, 2024

The key pairs are generated by the command in the config file

sshKeyGenCmd=ssh-keygen -t dsa -f ${pvtKey} -q -N ${passphrase}

If you want the keys generated then you need to set your properties file back to

#set to true to regenerate and import SSH keys
resetApplicationSSHKey=true
#Mac OS X - command used to support ssh-keygen
sshKeyGenCmd=ssh-keygen -t dsa -f ${pvtKey} -q -N ${passphrase}
#cat public key
setPublicKeyCmd=cat ${pubKey}
#cat private key
setPrivateKeyCmd=cat ${pvtKey}
#remove old keys
deleteSSHKeys=rm -f ${pvtKey} ${pubKey}
#default passphrase
defaultSSHPassphrase=${randomPassphrase}
#enable audit
enableAudit=false
#keep audit logs for in days
deleteAuditLogAfter=90

And restart your application

from bastillion.

Stevenhuangqian avatar Stevenhuangqian commented on August 22, 2024

thanks for your reply...so it means that if i set the resetApplicationSSHKey true ,the application will generate a key and send it to the server everytime i restart the application?
By the way , i deploy the application on windows os...and it doesn't support ssh-keygen....
.i tried to set resetApplicationSSHKey false ,and generate a key pair in C:\Users\Administrator.ssh
but it doesn`t work either..
Is there anything else i can do to solve the problem~?

from bastillion.

skavanagh avatar skavanagh commented on August 22, 2024

When you set resetApplicationSSHKey=true it will regenerate the key and then automatically set it back to resetApplicationSSHKey=false. So that way when you restart the server it won't generate a key again.

That isn't going to work on windows though. This application is not really setup to run on windows. You could try installing http://www.cygwin.com/ and make sure you have the ssh libraries installed (ssh client, ssh-keygen). Then run it through the cygwin terminal.

from bastillion.

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.