Skip to content

SetEnv and SendEnv #33

@tanguy-launay

Description

@tanguy-launay

When I try connecting to a remote ssh host inside my $HOME/.ssh/config I cannot pass a SetEnv or SendEnv variable, like this:

Host *
  SendEnv TERM=xterm-256color

I get the following error:

$ fast-ssh       
SSH configuration contains the following errors:

* Unknown SSH configuration option `SendEnv TERM`.
    a8888b.                     
   d888888b.          Machine     -  LENOVO ThinkPad E16 Gen 1 21JUS15500            
   8P"YP"Y88          Kernel      -  6.8.0-54-generic                                
   8|o||o|88          Distro      -  Ubuntu 24.04.2 LTS (Noble Numbat)               
   8'    .88          DE          -  Ubuntu:GNOME                                    
   8`._.' Y8.         WM          -  gnome-shell (Wayland)                           
  d/      `8b.        
 dP        Y8b.       Shell       -  zsh                                             
d8:       ::88b.      Terminal    -  gnome-terminal                                 

d8" 'Y88b Brightness - 100%
:8P :888
8a. a88P Uptime - 3h 52m
.
/"Yaa .| 88P| CPU - AMD Ryzen 7 7730U with Radeon Graphics (16)
\ YP" | . CPU Load - 4%
/ .__.d| .' Memory - 12.7 GB / 40.0 GB
--..__) .
.' Battery - 99% & Discharging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions