Code Monkey home page Code Monkey logo

Comments (5)

TimothyYe avatar TimothyYe commented on July 30, 2024

store-path 应该是一个全局参数,初始化的时候用来指定自定义key store位置。

初始化完成过后,其他命令,也需要带上这个参数,所以你的demo应该改成:

skm --store-path "/data/testskm" ls

from skm.

TimothyYe avatar TimothyYe commented on July 30, 2024

当然,这样每次输入都要带上这个参数,用起来也许很不方便,我考虑一下初始化过后如何把这个自定义store path保存下来,方便其他命令直接读取。

from skm.

TimothyYe avatar TimothyYe commented on July 30, 2024

这个可以作为下一个版本的改进

from skm.

8w7BG7l2nMNm0g09FZzAz3zlt avatar 8w7BG7l2nMNm0g09FZzAz3zlt commented on July 30, 2024

store-path 应该是一个全局参数,初始化的时候用来指定自定义key store位置。

初始化完成过后,其他命令,也需要带上这个参数,所以你的demo应该改成:

skm --store-path "/data/testskm" ls

可以了,多谢大佬

from skm.

TimothyYe avatar TimothyYe commented on July 30, 2024

@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)

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.