3
0

-p pour ssh

This commit is contained in:
Philippe Pittoli 2014-05-08 14:41:41 +02:00
parent ce23f60fa6
commit 4a027ed7b2

View File

@ -14,7 +14,7 @@ sub reload_sec {
. $self->data->sshusersec . '@' . $self->data->sshhostsec
. ' sudo nsdc rebuild 2>/dev/null 1>/dev/null');
system('ssh ' . $self->data->sshportsec . ' '
system('ssh -p ' . $self->data->sshportsec . ' '
. $self->data->sshusersec . '@' . $self->data->sshhostsec
. ' sudo nsdc reload 2>/dev/null 1>/dev/null');
}