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

From wikieduonline
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
  Host machine_name_for_ssh_client
 
  Host machine_name_for_ssh_client
     [[ProxyJump]] Optional_ProxyJump
+
     [[ProxyJump]] YOUR_SERVER_TO_USE_AS_JUMPSERVER
     Hostname IP or hostname
+
     Hostname (IP or hostname)
 
     Port 22
 
     Port 22
 
     User USERNAME_TO_CONNECT
 
     User USERNAME_TO_CONNECT
Line 13: Line 13:
  
 
  [[ControlMaster]] auto
 
  [[ControlMaster]] auto
  ControlPath ~/.ssh/sockets/%r@%h-%p
+
  [[ControlPath]] ~/.ssh/sockets/%r@%h-%p
  ControlPersist 36000
+
  [[ControlPersist]] 36000
  
  

Revision as of 12:03, 3 December 2020

This article is a Draft. Help us to complete it.
Host machine_name_for_ssh_client
    ProxyJump YOUR_SERVER_TO_USE_AS_JUMPSERVER
    Hostname (IP or hostname)
    Port 22
    User USERNAME_TO_CONNECT
    IdentityFile ~/.ssh/id_ed25519


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


To allow connection to some Cisco IOS devices:

KexAlgorithms +diffie-hellman-group14-sha1

See also

Advertising: