AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-573556

andrew's questions

Martin Hope
andrew
Asked: 2024-04-03 14:28:18 +0800 CST

无法通过 putty ssh 登录到 aws 中的我的 ec2 linux 实例:没有可用的受支持的身份验证方法

  • 5

我是 aws 的新手,我创建了两个 Linux 实例:amazon linux 和 ubuntu linux

我下载了 RSA ppk 密钥对 + 导入到 putty,但是我无法通过 putty 登录,出现此错误

没有可用的受支持的身份验证方法;

  1. 当我通过 Web 控制台登录 amazon linux 时,我很惊讶没有 auth.log

  2. 所以我检查了ubuntu,发现了这个日志:

Apr  3 06:19:36 ip sshd[11329]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
Apr  3 06:19:38 ip sshd[11329]: Connection closed by authenticating user ubuntu port 4798 [preauth]

任何想法

amazon-web-services
  • 1 个回答
  • 25 Views
Martin Hope
andrew
Asked: 2023-07-19 15:56:23 +0800 CST

ESX:存储上的卷已满后数据存储上的 FS 损坏

  • 7

我观察到此故障:存储上的卷已满后,数据存储上的 FS 损坏,实际上发生了两次,唯一的选择是再次重新创建新的数据存储。

以下是按时间顺序发生的事情:

  • 数据存储已断开连接(重新导出到 ESXi 主机)
  • 存储阵列上的卷已满 100%
  • 数据存储上的 FS 已损坏(数据丢失)

您知道根本原因是什么吗?不幸的是我没有日志。唯一的线索是在 FS 崩溃之前 DS 总是满的。这是标准行为吗?我们正在使用连接到此存储的多个 ESX 版本:ESX 版本。7, 6.5

vmware-vsphere
  • 1 个回答
  • 88 Views
Martin Hope
andrew
Asked: 2022-10-27 10:28:46 +0800 CST

没有为 centos 7 找到 python38 pkg

  • 6

我有 CentOS 7,是否有任何选项如何在 CentOS 7 上安装 python 3.8?看起来在所有 repos 中都没有找到 pkg。所以唯一的选择是从源代码编译?为什么 EPEL 不支持...?

yum install python38
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: bay.uchicago.edu
 * centos-sclo-rh: centos-distro.1gservers.com
 * epel: fedora.westmancom.com
 * extras: abqix.mm.fcix.net
 * updates: centos.mirrors.hoobly.com
No package python38 available.
centos7
  • 1 个回答
  • 31 Views
Martin Hope
andrew
Asked: 2022-10-08 00:46:55 +0800 CST

如何从 Vcenter 导出集群中所有虚拟机列表(虚拟机网络 VLAN id)?

  • 0

如何从 Vcenter 导出集群中所有 VM 的列表(VM 网络 VLAN id)?我没有看到任何网络详细信息选项。

使用 Vcenter 6.5

在此处输入图像描述

我试过这个选项。我只替换Get-VirtualPortGroup为Get-VDPortgroup,但不适用于我,有一些错误

$Portgroups = Get-VDPortgroup |Sort-Object -Unique
$Datastores = Get-Datastore |Sort-Object -Unique
$VMs = get-vm 
[System.Collections.ArrayList]$Output = @()
foreach ($currentVM in $VMs) {
    $VM = New-Object -TypeName PsObject
    $VM | Add-Member -Membertype NoteProperty -Name "Name" -Value $currentVM.Name
    foreach ($Portgroup in $Portgroups) {
        $VM | Add-Member -MemberType NoteProperty -Name $Portgroup.Name -Value (($currentVM|Get-VDPortgroup).name -contains $Portgroup.Name)
    }
    foreach ($Datastore in $Datastores) {
        $VM | Add-Member -MemberType NoteProperty -Name $Datastore.Name -Value (($currentVM|Get-Datastore).name -contains $Datastore.Name)
    }
    $Output += $VM
}
$Output |Export-Csv -Path "vm_export.csv"

错误:

Get-VDPortgroup : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
At line:9 char:93
+ ... rty -Name $Portgroup.Name -Value (($currentVM|Get-VDPortgroup).name - ...
+                                                   ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (test-vm:PSObject) [Get-VDPortgroup], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,VMware.VimAutomation.Vds.Commands.Cmdlets.GetVDPortgroup
vmware-esxi
  • 2 个回答
  • 49 Views
Martin Hope
andrew
Asked: 2021-05-24 05:30:04 +0800 CST

如何在 linux RedHat 8.3 中监控根搜索路径?

  • 1

由于安全策略,我必须定期监视根搜索 PATH 是否有任何更改。我的问题是什么是最好的解决方案?

仅监控变量就足够了,$PATH 还是我还需要监控配置文件,例如:/etc/profile、/bashrc ...?

linux redhat
  • 1 个回答
  • 68 Views
Martin Hope
andrew
Asked: 2020-08-19 10:46:44 +0800 CST

由 powershell 命令创建的 VM 中使用的默认登录凭据

  • 0

我只是按照本教程 https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-powershell

从powershel创建VM,但是当我尝试连接时,如果之前没有指定,使用什么凭据登录VM?

 New-AzVm `
>>     -ResourceGroupName "myResourceGroup" `
>>     -Name "myVM" `
>>     -Location "East US" `
>>     -VirtualNetworkName "myVnet" `
>>     -SubnetName "mySubnet" `
>>     -SecurityGroupName "myNetworkSecurityGroup" `
>>     -PublicIpAddressName "myPublicIpAddress" `
>>     -OpenPorts 80,3389
azure
  • 1 个回答
  • 65 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve