OiO.lk Blog security The “ssh kali@…” command on Kali Linux gives a “permission denied” error
security

The “ssh kali@…” command on Kali Linux gives a “permission denied” error


I have rented a server from AWS for a VPN. I can use this server on my mobile device and on my computer with Windows OS. Additionally, I have a virtual machine running Kali Linux on my computer. I would like to integrate the VPN into Kali as well, but despite my efforts, it hasn’t worked. I’m experiencing an issue related to the SSH protocol.

enter image description here
when I set it like this:
enter image description here

enter image description here
when I set it like this:
enter image description here

service ssh status
grep Port /etc/ssh/sshd_config
lsof -i -n -P | grep LISTEN 

I ran the commands and found that the commands ran correctly.

enter image description here
enter image description here

Apart from these, two more things:

/tmp iptables-save
zsh: permission denied: /tmp

I wanted to check "tmp" but I got the "permission denied" error there too.

Finally, after downloading the key pairs from Windows, I copied and pasted them into Linux. The file content looks like this:
enter image description here
Maybe it’s because of this.

I’m newer in this business. I would really appreciate it if you could help me.



You need to sign in to view this answers

Exit mobile version