From there I can open cmd.exe an administrator (required), and execute: ssh [centos 7 OS username]@[LAN address]
But when I try to do the same from laptop that has centos 7 installed, I get a connection time out.
On the windows 7 side, I've configured the firewall to allow both outbound and inbound port 22 connections.
Full output:
Code: Select all
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to 192.168.1.157 [192.168.1.157] port 22.
debug1: connect to address 192.168.1.157 port 22: Connection timed out
ssh: connect to host 192.168.1.157 port 22: Connection timed out
Code: Select all
sed -n '57,63p' /etc/ssh/ssh_config
Host *
GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
ForwardX11Trusted yes