首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

#putty

当putty断开跟虚拟机的连接后,正在虚拟机运行的程序可以继续运行吗?

西风

renzha.net · 站长 (已认证)

www.renzha.net

可以的,不影响,难道你连接虚拟机,用虚拟机下载一个大文件,要耗时几天的情况下,你必须得保持putty和虚拟机的连接吗?

标准登录方式下载打不开怎么办?

Dingda

Dingda · 站长 (已认证)

多一些不为什么的坚持

putty有问题吧,重新下一下或者考虑别的连接方式吧

filezilla client和putty无法连接到服务器?

社会人就是请不要忘记微笑!
已采纳
现在正常了吗?我扫描你的端口,看到80和22端口已经开放了。 image.png ... 展开详请

putty连接服务器?

网上有很多教程的,https://blog.tearth.me/putty/,可以参考这个文章

putty为什么输不进去密码?

如何导出PUTTY会话列表?

当我尝试其他解决方案时,我得到这个错误: Registry editing has been disabled by your administrator. Phooey,我说! 我将下面的PowerShell脚本放在一起,用于导出和导入PuTTY设置。导出的文件是一个Windows .reg文件,如果您有权限,将导入干净,否则使用import.ps1加载它。 警告:像这样搞乱注册表是个坏主意,而且我真的不知道我在做什么。使用下面的脚本需要您自担风险,并且准备让IT部门重新映像您的机器,并询问您有关您正在执行的操作的不舒服问题。 在源机器上: .\export.ps1 在目标机器上: .\import.ps1 > cmd.ps1 # Examine cmd.ps1 to ensure it doesn't do anything nasty .\cmd.ps1 export.ps1 # All settings $registry_path = "HKCU:\Software\SimonTatham" # Only sessions #$registry_path = "HKCU:\Software\SimonTatham\PuTTY\Sessions" $output_file = "putty.reg" $registry = ls "$registry_path" -Recurse "Windows Registry Editor Version 5.00" | Out-File putty.reg "" | Out-File putty.reg -Append foreach ($reg in $registry) { "[$reg]" | Out-File putty.reg -Append foreach ($prop in $reg.property) { $propval = $reg.GetValue($prop) if ("".GetType().Equals($propval.GetType())) { '"' + "$prop" + '"' + "=" + '"' + "$propval" + '"' | Out-File putty.reg -Append } elseif ($propval -is [int]) { $hex = "{0:x8}" -f $propval '"' + "$prop" + '"' + "=dword:" + $hex | Out-File putty.reg -Append } } "" | Out-File putty.reg -Append } import.ps1 $input_file = "putty.reg" $content = Get-Content "$input_file" "Push-Location" "cd HKCU:\" foreach ($line in $content) { If ($line.StartsWith("Windows Registry Editor")) { # Ignore the heade } ElseIf ($line.startswith("[")) { $section = $line.Trim().Trim('[', ']') 'New-Item -Path "' + $section + '" -Force' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } ElseIf ($line.startswith('"')) { $linesplit = $line.split('=', 2) $key = $linesplit[0].Trim('"') if ($linesplit[1].StartsWith('"')) { $value = $linesplit[1].Trim().Trim('"') } ElseIf ($linesplit[1].StartsWith('dword:')) { $value = [Int32]('0x' + $linesplit[1].Trim().Split(':', 2)[1]) 'New-ItemProperty "' + $section + '" "' + $key + '" -PropertyType dword -Force' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } Else { Write-Host "Error: unknown property type: $linesplit[1]" exit } 'Set-ItemProperty -Path "' + $section + '" -Name "' + $key + '" -Value "' + $value + '"' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } } "Pop-Location" 对于非惯用代码的道歉,我对Powershell不是很熟悉。改进是值得欢迎的!... 展开详请
当我尝试其他解决方案时,我得到这个错误: Registry editing has been disabled by your administrator. Phooey,我说! 我将下面的PowerShell脚本放在一起,用于导出和导入PuTTY设置。导出的文件是一个Windows .reg文件,如果您有权限,将导入干净,否则使用import.ps1加载它。 警告:像这样搞乱注册表是个坏主意,而且我真的不知道我在做什么。使用下面的脚本需要您自担风险,并且准备让IT部门重新映像您的机器,并询问您有关您正在执行的操作的不舒服问题。 在源机器上: .\export.ps1 在目标机器上: .\import.ps1 > cmd.ps1 # Examine cmd.ps1 to ensure it doesn't do anything nasty .\cmd.ps1 export.ps1 # All settings $registry_path = "HKCU:\Software\SimonTatham" # Only sessions #$registry_path = "HKCU:\Software\SimonTatham\PuTTY\Sessions" $output_file = "putty.reg" $registry = ls "$registry_path" -Recurse "Windows Registry Editor Version 5.00" | Out-File putty.reg "" | Out-File putty.reg -Append foreach ($reg in $registry) { "[$reg]" | Out-File putty.reg -Append foreach ($prop in $reg.property) { $propval = $reg.GetValue($prop) if ("".GetType().Equals($propval.GetType())) { '"' + "$prop" + '"' + "=" + '"' + "$propval" + '"' | Out-File putty.reg -Append } elseif ($propval -is [int]) { $hex = "{0:x8}" -f $propval '"' + "$prop" + '"' + "=dword:" + $hex | Out-File putty.reg -Append } } "" | Out-File putty.reg -Append } import.ps1 $input_file = "putty.reg" $content = Get-Content "$input_file" "Push-Location" "cd HKCU:\" foreach ($line in $content) { If ($line.StartsWith("Windows Registry Editor")) { # Ignore the heade } ElseIf ($line.startswith("[")) { $section = $line.Trim().Trim('[', ']') 'New-Item -Path "' + $section + '" -Force' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } ElseIf ($line.startswith('"')) { $linesplit = $line.split('=', 2) $key = $linesplit[0].Trim('"') if ($linesplit[1].StartsWith('"')) { $value = $linesplit[1].Trim().Trim('"') } ElseIf ($linesplit[1].StartsWith('dword:')) { $value = [Int32]('0x' + $linesplit[1].Trim().Split(':', 2)[1]) 'New-ItemProperty "' + $section + '" "' + $key + '" -PropertyType dword -Force' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } Else { Write-Host "Error: unknown property type: $linesplit[1]" exit } 'Set-ItemProperty -Path "' + $section + '" -Name "' + $key + '" -Value "' + $value + '"' | %{ $_ -replace 'HKEY_CURRENT_USER\\', '' } } } "Pop-Location" 对于非惯用代码的道歉,我对Powershell不是很熟悉。改进是值得欢迎的!

不能访问服务器是什么原因,求助!!!!?

领券