Re: first ssh, then start copying

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 02/14/04


Date: Sat, 14 Feb 2004 19:04:58 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard E. Silverman <res@qoxp.net> wrote:
> >>>>> "MH" == Michael Heiming <michael+USENET@www.heiming.de> writes:

> MH> The question is, why should one care, with using keys, ssh-agent
> MH> and agent forwarding turned on, one does only need from the remote
> MH> system 'scp ./file homebox:/somewhere/'. It shouldn't require
> MH> entering a password if things are setup alright...

> Read the OP's post again, and my response; you missed the point. I didn't
> say anything about the method of authentication, or entering a
> password/passphrase. The point is that the setup of an SSH connection
> entails considerable overhead, mostly cryptographic. If you have to make
> many of them, the delay is very noticeable -- especially if any of the
> machines involved are on the slow side. For example, suppose you use CVS
> over SSH; if every time you check in a file, look at a log, etc. you have
> to wait 3-5 seconds, you'll quickly get very tired of it, if you perform
> these operations often. You could use port forwarding, but that's more
> awkward to set up that just setting CVS_RSH. And with a good
> implementation, there's no reason for it -- any more than you should have
> to re-establish your SSH terminal session after every 5 lines of input.

Ack for very slow machines, with recent x86 hardware running
Linux or alike I can't mention the overhead, connection are made
instantly. OK, if you run some slowlaris box you are happy about
the "-c" switch to speed things up, using blowfish or alike.
;)

Haven't used CVS over ssh, rsync works great through ssh.

Best regards

- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFALmNIAkPEju3Se5QRAt/GAKCHLQn2AXjW2rYmEfiSlQdYEoWl8wCgg31P
bR/+5Uy+eQleQSaaPA7dVMs=
=ool8
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: Home directory isnt mapped anymore to /home
    ... I also noticed that after entering my username and password it can take several minutes before I see the welcome message. ... I don't know what the SSH server is doing so long after receiving the password. ... I restarted the service system/filesystem/autofs after updating various configuration files. ...
    (comp.unix.solaris)
  • Re: first ssh, then start copying
    ... MH> entering a password if things are setup alright... ... The point is that the setup of an SSH connection ...
    (comp.security.ssh)
  • Re: SSH login delay
    ... >Does any one know what causes the long delay between entering ... >the password to ssh and the actual logging in of the shell prompt? ...
    (FreeBSD-Security)
  • Re: timezone wont change from GMT
    ... |>> Are you logging in at the console, serial port, telnet or ssh? ... |> I'm coming in via ssh, which by the way takes about 45 seconds to ... |> give a prompt after entering the password. ... | present profile hack. ...
    (comp.unix.sco.misc)
  • Re: CVS over SSH hangs
    ... I am experiencing problems using ssh as a shell for CVS. ... There is a small hang during connection start up: ... > (which is what CVS is doing) you can see the CPU usage go to 100%. ...
    (comp.security.ssh)