I am having difficulty sending files from a remote machine to local one using
. It is working the other way however. local > remote. I am using the verbose options
scp -v /directory/file firstname.lastname@example.org.X.X:/directory/file
and I am getting this output:
Executing: program /usr/bin/ssh host 192.168.X.X, user ----, command scp -v -t -- /directory
OpenSSH_5.5p1 Debian-6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.X.X [192.168.X.X] port 22.
debug1: connect to address 192.168.X.X port 22: Connection refused
ssh: connect to host 192.168.X.X port 22: Connection refused
I wonder why this is? I have Googled my face off and read countless man pages and I am seriously stuck. If anybody could help that would great. Thanks.