Difference between revisions of "/etc/ssh/ssh config"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
     User USERNAME_TO_CONNECT
 
     User USERNAME_TO_CONNECT
 
     IdentityFile ~/.ssh/id_ed25519
 
     IdentityFile ~/.ssh/id_ed25519
 +
 +
 +
[[ControlMaster]] auto
 +
ControlPath ~/.ssh/sockets/%r@%h-%p
 +
ControlPersist 36000
  
  

Revision as of 10:01, 23 September 2020

This article is a Draft. Help us to complete it.

~/.ssh_config


Host machine_name_for_ssh_client
    ProxyJump Optional_ProxyJump
    Hostname IP or hostname
    Port 22
    User USERNAME_TO_CONNECT
    IdentityFile ~/.ssh/id_ed25519


ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 36000


See also

Advertising: