Comments (5)
store-path 应该是一个全局参数,初始化的时候用来指定自定义key store位置。
初始化完成过后,其他命令,也需要带上这个参数,所以你的demo应该改成:
skm --store-path "/data/testskm" ls
from skm.
当然,这样每次输入都要带上这个参数,用起来也许很不方便,我考虑一下初始化过后如何把这个自定义store path保存下来,方便其他命令直接读取。
from skm.
这个可以作为下一个版本的改进
from skm.
store-path 应该是一个全局参数,初始化的时候用来指定自定义key store位置。
初始化完成过后,其他命令,也需要带上这个参数,所以你的demo应该改成:
skm --store-path "/data/testskm" ls
可以了,多谢大佬
from skm.
@buyaofangqizhiliao V0.8 发布了,可以通过导出环境变量的方式自定义store path
https://github.com/TimothyYe/skm/releases/tag/V0.8
用法参考: https://github.com/TimothyYe/skm#customized-ssh-key-store-path
from skm.
Related Issues (20)
- `skm ls` need decribe HOT 7
- name clash skm is an older ssh key manager too HOT 2
- There should be an easy way to display current SSH public key
- SSH creation error displays wrong color schema
- Interrupting the creation of a new key will break the creation of that key afterwards HOT 2
- How import existing ssh key? HOT 3
- Failed to create symble link for private key HOT 1
- Hardcoded version HOT 5
- "display" use a relative path to default ssh path HOT 4
- id_rsa can't transfer to pem formate HOT 4
- Refactor the code structure
- Allow symlinks from `.ssh` to `.skm` HOT 2
- Restic integration HOT 4
- Destination constraints HOT 1
- brew installing wrong release HOT 1
- Incorrect version is displayed in --help [BUG]
- SSL certificate is expired. HOT 1
- Empty skm directory causing skm init to fail HOT 1
- Add CLI Test HOT 2
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 skm.