As I ask you, Is your root password ?
What kind of access are you trying to do?
For example, ssh?
Can you access your server with ssh using root password ?
Can you access your server via console with the root user and password?
You can login from console but not from ssh connection?
We just need to understand if you forgot your root password OR you only don't have permission to login via ssh.
If the problem is only when trying to login via ssh, it's easy to solve from sshd config file.
If you forgot the root password, you have to broke it by booting from grub with edit option (E) in the kernel line writing in the end of the line init=/bin/bash and doing chroot on root partition to be able to change your root password.
There are many posts on internet showing how to proceed with this.
When you say "From other networks" I guess you are saying "Connect to your server through the Internet".
You have a server at home and want to connect to it from anywhere. You have to configure port forwarding into your ISP Router/Modem.
For example:
1) At your server configure SSH service listening 2222 port in the file /etc/ssh/sshd_config. Restart the ssh service
If you have a firewall you have to configure this port to be allowed with TCP protocol
2) At your Router/Modem ISP appliance, you have to login into it and look for "Forwarding ports"
configure all incomming connection to the 2225/tcp port TO be redirect to your Server IP:2222/tcp...ex: 192.168.10.15 port 2222 (SSH)
Remember to configure your IP Address as a static mode.
If you use no-ip, it's simple to remember your domain name. So you just have to try to connect
ssh user@domainname.no-ip -p 2225
The Router will redirect inside your server.
There are many good documents on the internet showing this kind of setup.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The root password ?
No the password to connect with the server
Be more specific...which service password are talking about?
Webaccess ? Owncloud? Webadmin? Which user are you using with ?
If I try to connect with my server with my root password it says permission denied. What to do?
As I ask you, Is your root password ?
What kind of access are you trying to do?
For example, ssh?
Can you access your server with ssh using root password ?
Can you access your server via console with the root user and password?
You can login from console but not from ssh connection?
Thanks. But I figured out my problem and now I'm able to connect
We just need to understand if you forgot your root password OR you only don't have permission to login via ssh.
If the problem is only when trying to login via ssh, it's easy to solve from sshd config file.
If you forgot the root password, you have to broke it by booting from grub with edit option (E) in the kernel line writing in the end of the line init=/bin/bash and doing chroot on root partition to be able to change your root password.
There are many posts on internet showing how to proceed with this.
Can you explain me. How to connect to my server from other networks.
When you say "From other networks" I guess you are saying "Connect to your server through the Internet".
You have a server at home and want to connect to it from anywhere. You have to configure port forwarding into your ISP Router/Modem.
For example:
1) At your server configure SSH service listening 2222 port in the file /etc/ssh/sshd_config. Restart the ssh service
If you have a firewall you have to configure this port to be allowed with TCP protocol
2) At your Router/Modem ISP appliance, you have to login into it and look for "Forwarding ports"
configure all incomming connection to the 2225/tcp port TO be redirect to your Server IP:2222/tcp...ex: 192.168.10.15 port 2222 (SSH)
Remember to configure your IP Address as a static mode.
If you use no-ip, it's simple to remember your domain name. So you just have to try to connect
ssh user@domainname.no-ip -p 2225
The Router will redirect inside your server.
There are many good documents on the internet showing this kind of setup.