For over 5 hours now I've been having trouble logging into my Linux account remotely. I've used the ssh client, Putty, as well as my MAC terminal. I understand that in order to login, we must use ssh username@hostname or IP address. In my case, it is ssh [email protected] but in the end, I constantly receive the message ssh: connect to host 10.0.2.15 port 22: Operation timed out Can someone please help me? I've even tried to disable sshd but that didn't work either.
1 Answer
Get on the command line as root Then cd to /etc/ssh and do the following
cd /etc/ssh
nano sshd_config note that is an underscore in the file name
using nano you must uncomment the line
# PermitRootLogin prohibit-password
change it to
PermitRootLogin yes
Restart SSH
service ssh restart
ssh -vv [email protected]
. This may give more information.nmap -PN 10.0.2.15