man ssh:
ssh reads ~/.ssh/environment, and adds lines of the format
“VARNAME=value” to the environment if the file exists and users are
allowed to change their environment. For more information, see the
PermitUserEnvironment option in sshd_config(5).
Edit:
Tikus, saya berharap itu bisa di sisi lokal, masih, jika ada kemauan, ada jalan. man ssh_conf:
SendEnv
Specifies what variables from the local environ(7) should be sent
to the server. Note that environment passing is only supported
for protocol 2. The server must also support it, and the server
must be configured to accept these environment variables. Refer
to AcceptEnv in sshd_config(5) for how to configure the server.
Variables are specified by name, which may contain wildcard char-
acters. Multiple environment variables may be separated by
whitespace or spread across multiple SendEnv directives. The
default is not to send any environment variables.
Tergantung pada konfigurasi sshd pada sisi penerima, ini mungkin memenuhi atau tidak memenuhi persyaratan "tidak ada modifikasi file jarak jauh".