level 1
本人菜鸟一个,学校做作业一般要在linux的终端里用ssh ****@linux.student.cs.uwaterloo.ca这样的命令连到学校服务器,请问powershell有没有类似的命令能让我连到学校服务器啊?
2013年09月18日 06点09分
1
level 4
兄弟,有必要用到powershell吗? 你直接找一个putty不就可以连接了吗?
2013年09月22日 07点09分
3
没必要,只是想试试用这个
2013年09月22日 18点09分
level 7
powershell能直接调putty。
另外用ssh的模块也能连接ssh。
2013年09月27日 01点09分
5
level 7
function ScriptBlock{param($hostname,$port,$username,$password,$command)
$ErrorActionPreference="SilentlyContinue"
Set-Location "C:\Users\Administrator\Desktop\putty"
$comandstr="cmd.exe /c plink.exe $username`@$hostname -pw $password $command"
$msg=invoke-expression $comandstr -ea SilentlyContinue
return $hostname,$msg
}
2013年09月29日 03点09分
6
呃,请问能不能解释一下这些指令的意思?
2013年09月29日 17点09分