[QCLUG] Open SSH help

Chris Jones exspecto@gmail.com
Wed, 25 Jul 2007 09:30:49 -0500


cd /home/jack/web
scp MainMap2.html userOnOtherServer@otherserver.ip.address.or.name:/var/www/

On 7/22/07, Jack <jack@haleprint.com> wrote:
> Hi all, I am trying to upload files to my web server using Open SSH.
> First I ssh to the server then tried to upload the file. The results
> look like this.
>
> jack@server:/var/www$ scp MainMap2.html /home/jack/web/
> jack@jacklaptop:MainMap2.html /var/www/
> cp: cannot stat `MainMap2.html': No such file or directory
> cp: cannot stat `/home/jack/web/': No such file or directory
> The authenticity of host 'jacklaptop (My IP Address)' can't be established.
> RSA key fingerprint is a6:be:c8:76:e1:0a:1f:5d:78:e8:ae:71:43:68:ef:24.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'jacklaptop' (RSA) to the list of known hosts.
> Warning: the RSA host key for 'jacklaptop' differs from the key for the
> IP address 'My IP Address'
> Offending key for IP in /home/jack/.ssh/known_hosts:4
> Are you sure you want to continue connecting (yes/no)? yes
> jack@jacklaptop's password:
> scp: MainMap2.html: No such file or directory
> jack@server:/var/www$ scp MainMap2.html /home/jack/web/
> jack@jacklaptop:MainMap2.html /var/www/
> cp: cannot stat `MainMap2.html': No such file or directory
> cp: cannot stat `/home/jack/web/': No such file or directory
> Warning: the RSA host key for 'jacklaptop' differs from the key for the
> IP address 'My IP Address'
> Offending key for IP in /home/jack/.ssh/known_hosts:4
> Matching host key in /home/jack/.ssh/known_hosts:10
> Are you sure you want to continue connecting (yes/no)? yes
> jack@jacklaptop's password:
> scp: MainMap2.html: No such file or directory
> jack@server:/var/www$
>
> I am trying to upload a file called MainMap2.html to the web server dir.
> /var/www/
> The path on my machine is /home/jack/web/MainMap2.html
> What am I doing wrong?
>
> Thanks
> Jack
> _______________________________________________
> QCLUG mailing list
> QCLUG@qclug.org
> http://qclug.org/mailman/listinfo/qclug
>