SSH server (sshd)
/etc/ssh/sshd_config
Directives:
- AllowUsers
- DenyUsers
- HostKey
- ListenAddress
- PermitRootLogin
- Port
- Protocol
SSH client
/etc/ssh/ssh_config
file.
The
/etc/ ssh/ssh_config
file is used to specify default parameters for all users running ssh on the system.
A user can override these defaults using the
~/.ssh/ssh_config
file in his or her home directory.
The precedence for ssh client configuration settings are as follows:
1. Any command-line options included with the ssh command at the shell prompt
2. Settings in the ~/.ssh/ssh_config file
3. Settings in the /etc/ssh/ssh_config file
Connect
ssh –l user_name ip_address
Don’t forget the –l parameter. If you don’t, the SSH client will
attempt to authenticate you to the remote system using the same
credentials you used to authenticate to the local system.
Encryption III
No comments:
Post a Comment