async { my $ssh2 = Net::SSH2->new(); $ssh2->connect($host); $ssh2->auth_password($user,$password); print "Upgrading firmware, this will take about 3 minutes.\n"; my $chan2 = $ssh2->channel(); $chan2->exec("/sbin/fwupdate -m\n"); $chan2->close; }->detach;