Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SFTP tips by 813gan v1
- # https://wiki.archlinux.org/index.php/OpenSSH
- # https://wiki.archlinux.org/index.php/SSH_keys
- #in /etc/ssh/sshd_config you need to have followng lines:
- PasswordAuthentication no #disable passwords
- #add next line AFTER generating and updating SSH keys
- ChallengeResponseAuthentication no #disable interactive password
- PubkeyAuthentication yes #enable pub-key auth
- PermitRootLogin no
- Protocol 2 #disable insecure SSH v1
- also consister using nonstandard port (default is 22)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement