Thanks for taking the time to help me. I do appreciate it. The problem seems to be that I am able to transfer a file using scp
from the client machine to my Linode server, but not from the server to the client machine.
The strange thing is that a few days ago I was able to transfer two files from my Linode server to the client machine using the same command and user. I have the proof because the two files are in my home directory on my client machine.
I am using the following command from my Linode server(I changed the username and IP address slightly but you get what I mean):
Code:
scp ca.crt iceclimber@192.158.1.101:
The cursor will flash for a long time and then I get the following error message:
"ssh: connect to host 192.158.1.101 port 22: Connection timed out"So I try by hostname:
Code:
scp ca.crt iceclimber@hostname:
and recieve message
"Could not resolve hostname".
Nothing has changed as far as my configuration. I do have root and user ssh login disabled but I was able to transfer files since then. I am about to re-enable logins but what's strange is that that doesn't seem to be the problem.
Also, I can ping my Linode server from client machine but not ping client machine from Linode server. I think the router is blocking ping requests on my end but I still thought it would be possible to use scp since I believe it is using ssh with key authentication anyway.
Any ideas? I would like to know what I'm doing wrong for future use. Thanks again.