Access localhost in linux from another computer in another network

0

I have the localhost on a server in CentOS, and I can access it with my computer in the same network, but I would like to know how I can configure it to access it from another computer in a different network.

    
asked by Victor Zaid Garcia 21.06.2018 в 01:23
source

1 answer

0

Yes, you have not yet installed SSH, do it.

sudo yum install openssh-server clients.

After installing it, you configure it in / etc / ssh / sshd_config so that they do not access it by the root user and if you want there you can change the port.

then you just start the service

systemctl start sshd.service

Already with that, you can connect from another computer with ssh or putty from windows.

I hope it is that, if you could not detail a little more the question.

    
answered by 27.06.2018 в 01:25