Afficher un message
Vieux 09/10/2006, 20h16   #3
julien Touche
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh script: command/ForceCommand

Per Hedeland wrote on 08/10/2006 22:28:
> Worked fine for me (i.e. using multiple commands + wildcard, I didn't
> specifically try scp) on a quick test with OpenSSH 4.2p1. Though I
> don't

i will retry to scp and check there argument but could be that in my
setup some box are pre-4.0.
don't know which box release is important ? better to have last release
on the client or the server ?

> really see the point in the above case, why not simply put everything
> you want to do in the script? (Or if you don't want to change
> "backup-script.sh", create another script to run it + whatever else
> you want to do.)

this is about who does the connection: the backuped box or the backup
box. and i prefer the last one for firewall reasons.

>
>> - same for from/Host: no wildcard ?

>
> Using from= with wildcard (as documented) worked fine for me too,
> don't know what "Host:" refers to. Of course you need to have DNS /
> hosts file set up such that your client IP address really maps back
> to the expected host name on the server (and presumably that the name
> in turn maps forward to the IP address). Assuming you have a host
> name in from=, that is - IP addresses can also be used.

pre-4.0 problem maybe. i will retry

thanks
regards
  Réponse avec citation
 
Page generated in 0,05937 seconds with 9 queries