package core_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Process_env end
val parse_ssh_client : unit -> [ `From of Core.Unix.Inet_addr.t | `Nowhere ] Core.Or_error.t

parse_ssh_client reads the SSH_CLIENT environment variable, retrieving the IP from which you are currently sshing.

OCaml

Innovation. Community. Security.