Skip to content

index error for ssh_known_hosts_file #11

Closed

Description

julia> ENV["SSH_KNOWN_HOSTS_FILES"] = ""
""

julia> ssh_known_hosts_files()
String[]

julia> ssh_known_hosts_file()
ERROR: BoundsError: attempt to access 0-element Vector{String} at index [1]
Stacktrace:
 [1] getindex
   @ ./array.jl:787 [inlined]
 [2] ssh_known_hosts_file()
   @ NetworkOptions ~/dev/julia/usr/share/julia/stdlib/v1.6/NetworkOptions/src/ssh_options.jl:141
 [3] top-level scope
   @ REPL[30]:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions