Comments (3)
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.
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.
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)
- Local Install - javax.crypto.IllegalBlockSizeException HOT 1
- LDAPS useSLL=true HOT 1
- Error when starting bastillion in docker HOT 3
- armhf java 17: Can not initialize cryptographic mechanism
- Unable to display correctly special characters like graph lines in Terminals HOT 1
- Bastillion behind Apache ReverseProxy HOT 1
- Last line of terminal does not render properly HOT 1
- Administrativ users with multiple profiles
- Show key length
- There is Limitation?
- Problem resize
- Is there a way in UI when creating script to use variable such as username?
- HTTP ERROR 503 Service Unavailable HOT 3
- 3.14.1 Release HOT 5
- authorized_keys file got empty for instances behind bastillion server
- Error after upgrade to 3.15.00 HOT 3
- Stuck during installation. HOT 5
- Illegal char <:> at index 2: /C:/ HOT 1
- Session timeout issue
- Keyboard ?
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 bastillion.