ssh client in cygwin and server in fedora time out errors
by mtdew3q from LinuxQuestions.org on (#59ZEJ)
I am trying to connect on fedora 32 via ssh using a host only adapter. I use cygwin mintty as the ssh client and vbox fedora guest to run the ssh server.
If I try to connect to host like this from the server I get prompted to check the key:
ssh serverusername@serverlistenIPaddress -p 22 ( from server )
From the client:
ssh -vvv serverusername@serverlistenipaddress -p 22 (from client)
OpenSSH_8.4p1, OpenSSL 1.1.1f 31 Mar 2020
debug2: resolve_canonicalize: hostname 192.168.1.125 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'
debug2: ssh_connect_direct
debug1: Connecting to 192.168.1.25 [192.168.1.25] port 22.
debug1: connect to address 192.168.1.125 port 22: Connection timed out
ssh: connect to host 192.168.1.125 port 22: Connection timed out
There is something about ssh that always gives me time out errors. I use firewalld. I thought it might block things and cause a timeout.
thanks for any helpful tips-
roboloki


If I try to connect to host like this from the server I get prompted to check the key:
ssh serverusername@serverlistenIPaddress -p 22 ( from server )
From the client:
ssh -vvv serverusername@serverlistenipaddress -p 22 (from client)
OpenSSH_8.4p1, OpenSSL 1.1.1f 31 Mar 2020
debug2: resolve_canonicalize: hostname 192.168.1.125 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'
debug2: ssh_connect_direct
debug1: Connecting to 192.168.1.25 [192.168.1.25] port 22.
debug1: connect to address 192.168.1.125 port 22: Connection timed out
ssh: connect to host 192.168.1.125 port 22: Connection timed out
There is something about ssh that always gives me time out errors. I use firewalld. I thought it might block things and cause a timeout.
thanks for any helpful tips-
roboloki