clj-commons / clj-commons/clj-ssh
Use'ing clj-ssh.cli fails if known_hosts file does not exist
Open
- Dominant language
- Clojure
- Stars
- 241
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
user=> (use 'clj-ssh.cli)
CompilerException com.jcraft.jsch.JSchException: java.io.FileNotFoundException: C:\Users\Tatu\.ssh\known_hosts (The system cannot find the file specified), compiling:(cli.clj:39:15)
Creating an empty known_hosts fixes the issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at cli.clj:39:15 and reproduce the `(use 'clj-ssh.cli)` failure on a system where the known_hosts file is absent. Trace how that file is opened and verify that the command can be used without manually creating an empty known_hosts file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100