Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

keys -m create --key-stdin??

See original GitHub issue says I should consult the console app for examples how to do authentication, but the keys option is very light on any detail what I should be passing and in what order (I think public, private keys in that order).

I tried to use --key-stdin and now my console is stuck, whatever I type in it just keeps wanting more lines. Even standard ctrl-c/x keys won’t terminate it.

No idea what I’m really supposed to be doing, how I even tell if it’s worked. What is the correct usage?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

StarringLaracommented, Jan 30, 2022

I got it to work by launching exchange-sharp.exe in interactive mode and creating the file using --key-list instead of --key-stdin. The command (after landing in interactive mode) was keys -m create --key-list public-key,private-key,passphrase. It created a keys.bin file that I was able to load. This is better than having to resort to the LoadAPIKeysUnsecure method.

StarringLaracommented, Jan 30, 2022

Yes, there needs to be more documentation about this. Even the console help doesn’t really explain how to do it. I tried using keys -m create --key-stdin, which took it to a prompt. I pasted in my public key, enter, the private key, enter, the passphrase, enter, Ctrl+Z, enter. The Ctrl+Z followed by enter at the end was the only way I could get the prompt to stop. After that it did generate some kind of file, but when I try to use it, an exception is thrown, saying the file should include at least a public key, private key, and optional passphrase.

Read more comments on GitHub >

github_iconTop Results From Across the Web

m create --key-stdin?? · Issue #619
I got it to work by launching exchange-sharp.exe in interactive mode and creating the file using --key-list instead of --key-stdin . The command ......
Read more >
making it so keys typed on stdin aren't echo'd back out
Yes, turn echo off in the ttys settings. From the shell you can do that with stty -echo : (g=$(stty -g); stty -echo;...
Read more >
arrow key via stdin - bash
i want to control a bash via a web interface. Therefore i have to be able to send such keys to the bash...
Read more >
ssh-keygen(1) - Linux manual page
ssh-keygen generates, manages and converts authentication keys for ssh(1). ssh-keygen can create keys for use by SSH protocol version 2. The type of...
Read more >
ssh with key content instead of identity_file
Background: the mykey.pem is stored encryptedly. I would like to decrypt it on the fly (in a CI tool) and pass it to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found