Up

module Process_env

: sig

Utility functions for dealing with the environment.

#
val parse_ssh_client : unit -> [
| `From of Core_unix.Inet_addr.t
| `Nowhere
] Core_kernel.Std.Or_error.t

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

end