[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: File Transfer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
First make sure SSH works. If you do not want ot use passwords, exchange
keys. if you do not want to use a passphrase, use an empty one (more
"dangerous" or use an "agent" - see ssh docs.
Once ssh works, scp will work.
If you want to use rsync, the machine you are transferring from must have
rsync installed properly as well. If it is, all should work OK as per
previous post provided you have got ssh to work transparently as above.
Both these methods require, of course, some access to a shell account on the
remote machine.
regarding scp:
Youi may have to use the format:
scp username [at] remotehost:/directory/filename localfilename
I always use the -C flag as well to compress the link.
If ssh works, and you want to transfer a lot of files in a directory
structure, you could do something like:
tar czvf - "localdiredctory" | ssh -C -l username remotehost "cd remotedir ;
tar xzf - "
Pieter
On Monday 01 July 2002 9:16 pm, you wrote:
> David
>
> > scp host1:/x/y/file1 host2:/q/p/file1
> >
> > should work?
>
> Just says ...
>
> " You have no controlling tty. Cannot read passphrase. lost
> connection".
>
> Rsync is no good either. I've been trying to get it to work for four
> weeks. And ftp just says "connection refused".
>
> So, where to go from here ? I've tried all sorts and can't think what
> to do.
>
> Ta
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9IMZaKcW+Qf+XsA4RAv8lAJ9OjnsOh0wV5/W0vfsmo52QDb5QBQCffpSF
51YiR46fkyghBxA26Msr218=
=xpsJ
-----END PGP SIGNATURE-----
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.