Kali starts SSH service and resolves error reports
1. Open the SSH configuration file (remember sudo)
sudo vim /etc/ssh/sshd_config
2. #permitrotlogin is changed to
PermitRootLogin yes
That is, remove #, and change the proposal password to yes
3. #passwordauthentication line to
PasswordAuthentication yes
4. Enter after saving and exiting
sudo /usr/sbin/sshd
Errors may be encountered
Missing privilege separation directory: /run/sshd
Solution:
sudo mkdir /run/sshd
Read More:
- [Solved] SSH Startup Error: unable to load host key /etc/ssh/ssh_host_ed25519_key bad permissions
- [Solved] paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
- SSH Connect Service Error: Could not connect to ‘xxx.xxx.xx.xx‘ (port 22): Connection failed.
- [Solved] kali Execute history -c Error: fc: event not found: – C
- [Solved] Linux Service Start Error: *.service: Main process exited, code=exited, status=203/EXEC
- [SSH error] ssh_exchange_identification: read: Connection reset by peer
- Enter passphrase for key ‘/c/Users/**/.ssh/id_rsa‘ [How to Solve]
- Ubuntu: Redis starts the project Error [How to Solve]
- [Solved] SSH WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- [Solved] SSH connect Error: “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED“
- [Solved] Linux SSH Login Terminal Error: shell request failed on channel 0
- Virtual machine failed to start network service error: ob for network.service failed because the control process exited with error code
- [Solved] SSH Error: ECDSA host key for xxx has changed and you have requested strict checking.
- [Solved] SSH connect error: Host key validation failed
- [Solved] Linux error: SSH_exchange_identification: read: Connection reset by peer
- Centos8 Could not restart the Network: Failed to restart network.service: Unit network.service not found
- [Solved] SSH Failed to Login Ubuntu Error: Socket error Event: 32 Error: 10053. Connection closing…Socket close.
- Using common file upload to upload files in SSH project
- CDH operation and maintenance: child node cloudera SCM agent starts Error