|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi, i have public/private keys configured for my servers and would like to take a backup and sftp to a remote machine i maintain in a colo facility (also configured with public/private keys). can someone recommend a way to do this sftp of the backedup data to the remote machine, using a script? essentially my question is how do do the sftp transfer without manually having to type the passphrase. thx |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"stroller" <smcbutler@hotmail.com> writes:
> hi, i have public/private keys configured for my servers and would like > to take a backup and sftp to a remote machine i maintain in a colo > facility (also configured with public/private keys). can someone > recommend a way to do this sftp of the backedup data to the remote > machine, using a script? essentially my question is how do do the sftp > transfer without manually having to type the passphrase. rsync using ssh as transport is one nice option if you have hte benefit of an rsync server on the far end. Example: client$ rsync -avz -e ssh /home/me/ remote.colohost.blah:/home/me123/mybackup Or you can do the usual scp thing though it's not as bandwidth friendly. In ssh parlance, you wish to use public key authentication with a private key that has no pass phrase. For more on that see: http://www.snailbook.com/faq/no-passphrase.auto.html -- Todd H. http://www.toddh.net/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
comp@toddh.net (Todd H.) writes:
> [...] > Or you can do the usual scp thing though it's not as bandwidth > friendly. Why is that? -- % Randy Yates % "My Shangri-la has gone away, fading like %% Fuquay-Varina, NC % the Beatles on 'Hey Jude'" %%% 919-577-9882 % %%%% <yates@ieee.org> % 'Shangri-La', *A New World Record*, ELO http://home.earthlink.net/~yatescr |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Randy Yates <yates@ieee.org> writes:
> comp@toddh.net (Todd H.) writes: > > [...] > > Or you can do the usual scp thing though it's not as bandwidth > > friendly. > > Why is that? scp copies every file every time, no matter whether it's changed since the last sync or not. rsync only updates what's changed. -- Todd H. http://www.toddh.net/ |
|
![]() |
| Outils de la discussion | |
|
|