[node]nodejs ssh2測試

2.1exec(無上下文,遠程執行命令) var Client = require('ssh2').Client; var conn = new Client(); conn.on('ready', function() { conn.exec('uname -a', function(err, stream) { if (err) throw err; stream.on('close', fu
相關文章
相關標籤/搜索