-p pour ssh

master
Philippe Pittoli 2014-05-08 14:41:41 +02:00
parent ce23f60fa6
commit 4a027ed7b2
1 changed files with 1 additions and 1 deletions

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');
}