Linux Sri Lanka
New Member
Currently, which servers a user can ssh from a jump server are mentioned in the sshd_config file as follows.
ex:
Match User bob
PasswordAuthentication no
AuthenticationMethods publickey
permitopen 172.20.12.8:22 1.1.1.1:1
Even if it works correctly as above, due to the fact that a large number of characters are recorded in the sshd_config file, this is a .ssh/config file in the user's home directory. but when ssh from the jump server to another server it gives an error like bad configuration error: permitopen What is the reason for this?
Please suggest other ways to fix it or use it instead
ex:
Match User bob
PasswordAuthentication no
AuthenticationMethods publickey
permitopen 172.20.12.8:22 1.1.1.1:1
Even if it works correctly as above, due to the fact that a large number of characters are recorded in the sshd_config file, this is a .ssh/config file in the user's home directory. but when ssh from the jump server to another server it gives an error like bad configuration error: permitopen What is the reason for this?
Please suggest other ways to fix it or use it instead