package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Utility functions for dealing with the environment.

val parse_ssh_client : unit -> [ `From of Unix.inet_addr | `Nowhere ] Core_kernel.Or_error.t

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