Module Process_env

Utility functions for dealing with the environment.

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.