[QCLUG] Open SSH help
Mark Riedesel
mriedesel@gmail.com
Wed, 25 Jul 2007 13:03:47 -0500
---------------------- multipart/alternative attachment
scp functions exactly the same as cp, except you can append
RemoteUser@RemoteServerNameOrIP: to the source or destination file path.
Based on your kinda random issuing of commands, I'm guessing the solution
would be..
(running this from jack@jacklaptop)
scp /home/jack/web/MainMap2.html jack@server:/var/www/
/home/jack/web/MainMap2.html would be the source, and jack@server:/var/www/
would be the destination.
Assuming 'server' resolves to your server's IP address, if it doesn't, then
substitute "server" for the IP address of the server which I gather is
192.168.3.200
On 7/22/07, Jack <jack@haleprint.com> wrote:
>
> Thanks Chris for the help: Closer but not there yet. Now this is what I
> get.
>
> user@server:~$ cd /home/jack/web
> -bash: cd: /home/jack/web: No such file or directory
> user@server:~$ scp MainMap2.html user@server.192.168.3.200:/var/www/
> The authenticity of host 'server.192.168.3.200 (71.33.86.118)' 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 'server.192.168.3.200' (RSA) to the list of
> known hosts.
> Warning: the RSA host key for 'server.192.168.3.200' differs from the
> key for the IP address 'Server IP'
> Offending key for IP in /home/jack/.ssh/known_hosts:4
> Are you sure you want to continue connecting (yes/no)? yes
> user@server.192.168.3.200's password:
> scp: /var/www/: Is a directory
>
> Thanks again
> Jack
>
>
>
> ===============================================================================
> Chris Jones wrote:
> > cd /home/jack/web
> > scp MainMap2.html
> > userOnOtherServer@otherserver.ip.address.or.name:/var/www/
>
> _______________________________________________
> QCLUG mailing list
> QCLUG@qclug.org
> http://qclug.org/mailman/listinfo/qclug
>
---------------------- multipart/alternative attachment
An HTML attachment was scrubbed...
URL: http://qclug.org/pipermail/qclug/attachments/5bd03d3c/attachment.htm
---------------------- multipart/alternative attachment--