rust ssh sudo password scp
```
[dependencies] rustssh = "0.1.0" ```
```
let mut conn = Connection::new(myhost, port, myusername, Auth::Password(mypassword)).unwrap();
let (stdout, stderr, status) = conn.run("ls").unwrap();
println!("The output of run is: {}, The outerr of run is: {}, The status code of run is: {}, end.", stdout, stderr, status);
let (stdout, stderr, status) = conn.sudo("ls -l /root/").unwrap();
println!("The output of sudo is: {}, The outerr of sudo is: {}, The status code of sudo is: {}, end.", stdout, stderr, status);
conn.scp("/home/xxx/x.xml", "/home/xxx/xx.xml").unwrap();
```