I am trying to automate the file transfer between server and the local machine, which I was able to do it on laptop running windows 7 as well as Ubuntu. Now trying to implement it on the local desktop machine running windows server 2003, by installing cygwin. I am able to transfer files via
scp
the errror message got using the following command is as below.
$ ssh -vvv test username@example.se:~/?
OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012
debug2: ssh_connect: needpriv 0
debug1: Connecting to test [11.22.33.44] port 22.
debug1: connect to address 11.22.33.44 port 22: Connection timed out
ssh: connect to host test port 22: Connection timed out
some help would be appreciated. I do not understand, why i am unable to since server settings must be ok as I was able to transfer files using scp from my laptop. what can be the reason. some help needed immediately if possible. thanks.
Best Answer
This error shows you couldn't connect to the server. That can have many reasons:
Since you can transfer files from your other computer I'd say you probably have a firewall blocking the connection. By the way... I supposed this host "test" is just a hypothetical example you used. Note it's IP address is not a valid local address (11.22.33.44), so if this message is real you should try using the server's IP address in place of "test".