bento icon indicating copy to clipboard operation
bento copied to clipboard

Unable to login to fedora-33/202012.27.0

Open Gillingham opened this issue 5 years ago • 2 comments

Initializing a clean vagrant from fedora-33 doesnt seem to be able to login via vagrant up.

I can ssh to the VM and login via virtualbox, but something seems broken with the vagrant key authentication.

Software Version

MacOS 10.15.7 VirtualBox Version 6.1.16 r140961 (Qt5.6.3) Vagrant 2.2.14

Replication Case

$ vagrant init bento/fedora-33 \
  --box-version 202012.27.0
$ vagrant up

Stacktrace

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'bento/fedora-33'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/fedora-33' version '202012.27.0' is up to date...
==> default: Setting the name of the VM: test-bento_default_1609868973860_49908
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2200 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

Debug output from the ssh attempts:

 INFO ssh: SSH not ready: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.>
 INFO subprocess: Starting process: ["/usr/local/bin/VBoxManage", "showvminfo", "d62222c9-d88d-4d5a-b53d-3dce00734b04", "--machinereadable"]
DEBUG subprocess: Command not in installer, not touching env vars.
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: name="test-bento_default_1609869420615_77853"
groups="/"
ostype="Fedora (64-bit)"
UUID="d62222c9-d88d-4d5a-b53d-3dce00734b04"
CfgFile="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/test-bento_default_1609869420615_77853.vbox"
SnapFldr="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/Snapshots"
LogFldr="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/Logs"
hardwareuuid="d62222c9-d88d-4d5a-b53d-3dce00734b04"
memory=1024
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="off"
cpu-profile="host"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="on"
nested-hw-virt="off"
cpuid-portability-level=0
bootmenu="messageandmenu"
boot1="disk"
boot2="dvd"
boot3="none"
boot4="none"
acpi="on"
ioapic="on"
biosapic="apic"
biossystemtimeoffset=0
rtcuseutc="on"
hwvirtex="on"
nestedpaging="on"
largepages="on"
vtxvpid="on"
vtxux="on"
paravirtprovider="default"
effparavirtprovider="kvm"
VMState="running"
VMStateChangeTime="2021-01-05T17:57:06.213000000"
graphicscontroller="vboxvga"
monitorcount=1
accelerate3d="off"
accelerate2dvideo="off"
teleporterenabled="off"
teleporterport=0
teleporteraddress=""
teleporterpassword=""
tracing-enabled="off"
tracing-allow-vm-access="off"
tracing-config=""
autostart-enabled="off"
autostart-delay=0
defaultfrontend=""
vmprocpriority="default"
storagecontrollername0="IDE Controller"
storagecontrollertype0="PIIX4"
storagecontrollerinstance0="0"
storagecontrollermaxportcount0="2"
storagecontrollerportcount0="2"
storagecontrollerbootable0="on"
storagecontrollername1="SATA Controller"
storagecontrollertype1="IntelAhci"
storagecontrollerinstance1="0"
storagecontrollermaxportcount1="30"
storagecontrollerportcount1="1"
storagecontrollerbootable1="on"
"IDE Controller-0-0"="none"
"IDE Controller-0-1"="none"
"IDE Controller-1-0"="none"
"IDE Controller-1-1"="none"
"SATA Controller-0-0"="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/fedora-33-x86_64-disk001.vmdk"
"SATA Controller-ImageUUID-0-0"="56322a91-5763-426c-9841-78cb74694e7f"
natnet1="nat"
macaddress1="0800272AFEA6"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,2200,,22"
nic2="none"
nic3="none"
nic4="none"
nic5="none"
nic6="none"
nic7="none"
nic8="none"
hidpointing="ps2mouse"
hidkeyboard="ps2kbd"
uart1="off"
uart2="off"
uart3="off"
uart4="off"
lpt1="off"
lpt2="off"
audio="none"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="800,600,32"@0,0 1
vrde="on"
vrdeport=-1
vrdeports="5967"
vrdeaddress="127.0.0.1"
vrdeauthtype="null"
vrdemulticon="off"
vrdereusecon="off"
vrdevideochannel="off"
vrdeproperty[TCP/Ports]="5967"
vrdeproperty[TCP/Address]="127.0.0.1"
vrdeproperty[VideoChannel/Enabled]=<not set>
vrdeproperty[VideoChannel/Quality]=<not set>
vrdeproperty[VideoChannel/DownscaleProtection]=<not set>
vrdeproperty[Client/DisableDisplay]=<not set>
vrdeproperty[Client/DisableInput]=<not set>
vrdeproperty[Client/DisableAudio]=<not set>
vrdeproperty[Client/DisableUSB]=<not set>
vrdeproperty[Client/DisableClipboard]=<not set>
vrdeproperty[Client/DisableUpstreamAudio]=<not set>
vrdeproperty[Client/DisableRDPDR]=<not set>
vrdeproperty[H3DRedirect/Enabled]=<not set>
vrdeproperty[Security/Method]=<not set>
vrdeproperty[Security/ServerCertificate]=<not set>
vrdeproperty[Security/ServerPrivateKey]=<not set>
vrdeproperty[Security/CACertificate]=<not set>
vrdeproperty[Audio/RateCorrectionMode]=<not set>
vrdeproperty[Audio/LogPath]=<not set>
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="vagrant"
SharedFolderPathMachineMapping1="/Users/gillingh/test-bento"
VRDEActiveConnection="off"
VRDEClients==0
videocap="off"
videocapaudio="off"
capturescreens="0"
capturefilename="/Users/gillingh/VirtualBox VMs/fedora-33-x86_64_1609869415220_4381/fedora-33-x86_64_1609869415220_4381.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="6.1.16 r140961"
GuestAdditionsFacility_VirtualBox Base Driver=50,1609869432435
GuestAdditionsFacility_VirtualBox System Service=50,1609869434692
GuestAdditionsFacility_Seamless Mode=0,1609869432444
GuestAdditionsFacility_Graphics Mode=0,1609869432433
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG virtualbox_6_1: Searching for SSH port: 22
DEBUG virtualbox_6_1: read_forward_ports: uuid=d62222c9-d88d-4d5a-b53d-3dce00734b04 active_only=false
 INFO subprocess: Starting process: ["/usr/local/bin/VBoxManage", "showvminfo", "d62222c9-d88d-4d5a-b53d-3dce00734b04", "--machinereadable"]
DEBUG subprocess: Command not in installer, not touching env vars.
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: name="test-bento_default_1609869420615_77853"
groups="/"
ostype="Fedora (64-bit)"
UUID="d62222c9-d88d-4d5a-b53d-3dce00734b04"
CfgFile="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/test-bento_default_1609869420615_77853.vbox"
SnapFldr="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/Snapshots"
LogFldr="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/Logs"
hardwareuuid="d62222c9-d88d-4d5a-b53d-3dce00734b04"
memory=1024
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="off"
cpu-profile="host"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="on"
nested-hw-virt="off"
cpuid-portability-level=0
bootmenu="messageandmenu"
boot1="disk"
boot2="dvd"
boot3="none"
boot4="none"
acpi="on"
ioapic="on"
biosapic="apic"
biossystemtimeoffset=0
rtcuseutc="on"
hwvirtex="on"
nestedpaging="on"
largepages="on"
vtxvpid="on"
vtxux="on"
paravirtprovider="default"
effparavirtprovider="kvm"
VMState="running"
VMStateChangeTime="2021-01-05T17:57:06.213000000"
graphicscontroller="vboxvga"
monitorcount=1
accelerate3d="off"
accelerate2dvideo="off"
teleporterenabled="off"
teleporterport=0
teleporteraddress=""
teleporterpassword=""
tracing-enabled="off"
tracing-allow-vm-access="off"
tracing-config=""
autostart-enabled="off"
autostart-delay=0
defaultfrontend=""
vmprocpriority="default"
storagecontrollername0="IDE Controller"
storagecontrollertype0="PIIX4"
storagecontrollerinstance0="0"
storagecontrollermaxportcount0="2"
storagecontrollerportcount0="2"
storagecontrollerbootable0="on"
storagecontrollername1="SATA Controller"
storagecontrollertype1="IntelAhci"
storagecontrollerinstance1="0"
storagecontrollermaxportcount1="30"
storagecontrollerportcount1="1"
storagecontrollerbootable1="on"
"IDE Controller-0-0"="none"
"IDE Controller-0-1"="none"
"IDE Controller-1-0"="none"
"IDE Controller-1-1"="none"
"SATA Controller-0-0"="/Users/gillingh/VirtualBox VMs/test-bento_default_1609869420615_77853/fedora-33-x86_64-disk001.vmdk"
"SATA Controller-ImageUUID-0-0"="56322a91-5763-426c-9841-78cb74694e7f"
natnet1="nat"
macaddress1="0800272AFEA6"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,2200,,22"
nic2="none"
nic3="none"
nic4="none"
nic5="none"
nic6="none"
nic7="none"
nic8="none"
hidpointing="ps2mouse"
hidkeyboard="ps2kbd"
uart1="off"
uart2="off"
uart3="off"
uart4="off"
lpt1="off"
lpt2="off"
audio="none"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="800,600,32"@0,0 1
vrde="on"
vrdeport=-1
vrdeports="5967"
vrdeaddress="127.0.0.1"
vrdeauthtype="null"
vrdemulticon="off"
vrdereusecon="off"
vrdevideochannel="off"
vrdeproperty[TCP/Ports]="5967"
vrdeproperty[TCP/Address]="127.0.0.1"
vrdeproperty[VideoChannel/Enabled]=<not set>
vrdeproperty[VideoChannel/Quality]=<not set>
vrdeproperty[VideoChannel/DownscaleProtection]=<not set>
vrdeproperty[Client/DisableDisplay]=<not set>
vrdeproperty[Client/DisableInput]=<not set>
vrdeproperty[Client/DisableAudio]=<not set>
vrdeproperty[Client/DisableUSB]=<not set>
vrdeproperty[Client/DisableClipboard]=<not set>
vrdeproperty[Client/DisableUpstreamAudio]=<not set>
vrdeproperty[Client/DisableRDPDR]=<not set>
vrdeproperty[H3DRedirect/Enabled]=<not set>
vrdeproperty[Security/Method]=<not set>
vrdeproperty[Security/ServerCertificate]=<not set>
vrdeproperty[Security/ServerPrivateKey]=<not set>
vrdeproperty[Security/CACertificate]=<not set>
vrdeproperty[Audio/RateCorrectionMode]=<not set>
vrdeproperty[Audio/LogPath]=<not set>
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="vagrant"
SharedFolderPathMachineMapping1="/Users/gillingh/test-bento"
VRDEActiveConnection="off"
VRDEClients==0
videocap="off"
videocapaudio="off"
capturescreens="0"
capturefilename="/Users/gillingh/VirtualBox VMs/fedora-33-x86_64_1609869415220_4381/fedora-33-x86_64_1609869415220_4381.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="6.1.16 r140961"
GuestAdditionsFacility_VirtualBox Base Driver=50,1609869432435
GuestAdditionsFacility_VirtualBox System Service=50,1609869434692
GuestAdditionsFacility_Seamless Mode=0,1609869432444
GuestAdditionsFacility_Graphics Mode=0,1609869432433
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG virtualbox_6_1:   - [1, "ssh", 2200, 22, "127.0.0.1"]
DEBUG ssh: Checking key permissions: /Users/gillingh/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 127.0.0.1
 INFO ssh:   - Port: 2200
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/gillingh/.vagrant.d/insecure_private_key"]
DEBUG ssh:   - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>false, :send_env=>false, :keys_only=>true, :verify_host_key=>:never, :password=>nil, :port=>2200, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00007fe1203de9e8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007fe1203de998 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007fe1203de948 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00007fe1203dea38>, @mon_mutex=#<Thread::Mutex:0x00007fe1203de8f8>, @mon_mutex_owner_object_id=70302442648740, @mon_owner=nil, @mon_count=0>>, :keys=>["/Users/gillingh/.vagrant.d/insecure_private_key"], :remote_user=>"vagrant"}
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2021-01-05T09:57:31.169374 #58297] DEBUG -- net.ssh.transport.session[3ff0901ee518]: establishing connection to 127.0.0.1:2200
D, [2021-01-05T09:57:31.170249 #58297] DEBUG -- net.ssh.transport.session[3ff0901ee518]: connection established
I, [2021-01-05T09:57:31.170396 #58297]  INFO -- net.ssh.transport.server_version[3ff09c663efc]: negotiating protocol version
D, [2021-01-05T09:57:31.170439 #58297] DEBUG -- net.ssh.transport.server_version[3ff09c663efc]: local is `SSH-2.0-Ruby/Net::SSH_6.2.0.rc1 x86_64-darwin19'
D, [2021-01-05T09:57:31.180854 #58297] DEBUG -- net.ssh.transport.server_version[3ff09c663efc]: remote is `SSH-2.0-OpenSSH_8.4'
I, [2021-01-05T09:57:31.181238 #58297]  INFO -- net.ssh.transport.algorithms[3ff09c663614]: sending KEXINIT
D, [2021-01-05T09:57:31.181488 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 0 type 20 len 820
D, [2021-01-05T09:57:31.181582 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 824 bytes
D, [2021-01-05T09:57:31.182805 #58297] DEBUG -- socket[3ff0901ee2ac]: read 936 bytes
D, [2021-01-05T09:57:31.182937 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 0 type 20 len 932
I, [2021-01-05T09:57:31.182995 #58297]  INFO -- net.ssh.transport.algorithms[3ff09c663614]: got KEXINIT from server
I, [2021-01-05T09:57:31.183138 #58297]  INFO -- net.ssh.transport.algorithms[3ff09c663614]: negotiating algorithms
D, [2021-01-05T09:57:31.183280 #58297] DEBUG -- net.ssh.transport.algorithms[3ff09c663614]: negotiated:
* kex: ecdh-sha2-nistp521
* host_key: ssh-ed25519
* encryption_server: aes256-ctr
* encryption_client: aes256-ctr
* hmac_client: [email protected]
* hmac_server: [email protected]
* compression_client: none
* compression_server: none
* language_client:
* language_server:
D, [2021-01-05T09:57:31.183319 #58297] DEBUG -- net.ssh.transport.algorithms[3ff09c663614]: exchanging keys
D, [2021-01-05T09:57:31.187109 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 1 type 30 len 148
D, [2021-01-05T09:57:31.187229 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 152 bytes
D, [2021-01-05T09:57:31.190876 #58297] DEBUG -- socket[3ff0901ee2ac]: read 312 bytes
D, [2021-01-05T09:57:31.191086 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 1 type 31 len 292
D, [2021-01-05T09:57:31.195966 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 2 type 21 len 20
D, [2021-01-05T09:57:31.196091 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 24 bytes
D, [2021-01-05T09:57:31.196197 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 2 type 21 len 12
D, [2021-01-05T09:57:31.196556 #58297] DEBUG -- net.ssh.authentication.session[3ff0901f2e60]: beginning authentication of `vagrant'
D, [2021-01-05T09:57:31.196648 #58297] DEBUG -- socket[3ff0901ee2ac]: using encrypt-then-mac
D, [2021-01-05T09:57:31.196741 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 3 type 5 len 32
D, [2021-01-05T09:57:31.196813 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 100 bytes
D, [2021-01-05T09:57:31.197281 #58297] DEBUG -- socket[3ff0901ee2ac]: read 100 bytes
D, [2021-01-05T09:57:31.197478 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 3 type 6 len 32
D, [2021-01-05T09:57:31.197635 #58297] DEBUG -- net.ssh.authentication.session[3ff0901f2e60]: trying none
D, [2021-01-05T09:57:31.197824 #58297] DEBUG -- socket[3ff0901ee2ac]: using encrypt-then-mac
D, [2021-01-05T09:57:31.197937 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 4 type 50 len 48
D, [2021-01-05T09:57:31.198093 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 116 bytes
D, [2021-01-05T09:57:31.204463 #58297] DEBUG -- socket[3ff0901ee2ac]: read 132 bytes
D, [2021-01-05T09:57:31.204739 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 4 type 51 len 64
D, [2021-01-05T09:57:31.204884 #58297] DEBUG -- net.ssh.authentication.session[3ff0901f2e60]: allowed methods: publickey,gssapi-keyex,gssapi-with-mic,password
D, [2021-01-05T09:57:31.204991 #58297] DEBUG -- net.ssh.authentication.methods.none[3ff0901f7c80]: none failed
D, [2021-01-05T09:57:31.205083 #58297] DEBUG -- net.ssh.authentication.session[3ff0901f2e60]: trying publickey
D, [2021-01-05T09:57:31.205584 #58297] DEBUG -- net.ssh.authentication.agent[3ff0901f6524]: connecting to ssh-agent
D, [2021-01-05T09:57:31.205759 #58297] DEBUG -- net.ssh.authentication.agent[3ff0901f6524]: sending agent request 1 len 51
D, [2021-01-05T09:57:31.205923 #58297] DEBUG -- net.ssh.authentication.agent[3ff0901f6524]: received agent packet 5 len 1
D, [2021-01-05T09:57:31.206019 #58297] DEBUG -- net.ssh.authentication.agent[3ff0901f6524]: sending agent request 11 len 0
D, [2021-01-05T09:57:31.206136 #58297] DEBUG -- net.ssh.authentication.agent[3ff0901f6524]: received agent packet 12 len 5
D, [2021-01-05T09:57:31.206372 #58297] DEBUG -- net.ssh.authentication.methods.publickey[3ff0901f6790]: trying publickey (dd:3b:b8:2e:85:04:06:e9:ab:ff:a8:0a:c0:04:6e:d6)
D, [2021-01-05T09:57:31.206516 #58297] DEBUG -- socket[3ff0901ee2ac]: using encrypt-then-mac
D, [2021-01-05T09:57:31.206605 #58297] DEBUG -- socket[3ff0901ee2ac]: queueing packet nr 5 type 50 len 352
D, [2021-01-05T09:57:31.206688 #58297] DEBUG -- socket[3ff0901ee2ac]: sent 420 bytes
D, [2021-01-05T09:57:31.212806 #58297] DEBUG -- socket[3ff0901ee2ac]: read 132 bytes
D, [2021-01-05T09:57:31.213048 #58297] DEBUG -- socket[3ff0901ee2ac]: received packet nr 5 type 51 len 64
D, [2021-01-05T09:57:31.213154 #58297] DEBUG -- net.ssh.authentication.session[3ff0901f2e60]: allowed methods: publickey,gssapi-keyex,gssapi-with-mic,password
E, [2021-01-05T09:57:31.213219 #58297] ERROR -- net.ssh.authentication.session[3ff0901f2e60]: all authorization methods failed (tried none, publickey)

DEBUG ssh: == Net-SSH connection debug-level log END ==

Gillingham avatar Jan 05 '21 17:01 Gillingham

I'm experiencing the same issue

I tried adding vb.customize ["modifyvm", :id, "--cableconnected1", "on"] as mentioned in another thread but that did not work.

I'm also on VirtualBox 6.1. If I run vagrant ssh after vagrant up I am able to successfully login via SSH but this issue makes it so I can't use this box with Ansible Molecule tests. Any idea why I would be able to run vagrant ssh but not have it work from the getgo?

Might be unrelated, but here is the .authorized_keys file with the root group as owner. Not sure if that matters:

drwx------. 2 vagrant root     29 Mar 19 03:56 .
drwx------. 3 vagrant vagrant 116 Apr 20 04:22 ..
-rw-------. 1 vagrant root    409 Apr 20 04:27 authorized_keys

On Ubuntu 20.04 (which works), the .ssh directory looks like this (note that the authorized_keys file does not have the root group assigned as a permission):

drwx------ 2 vagrant root    4096 Apr 20 04:32 .
drwxr-xr-x 4 vagrant vagrant 4096 Dec 23 08:00 ..
-rw------- 1 vagrant vagrant  389 Apr 20 04:32 authorized_keys

ProfessorManhattan avatar Apr 20 '21 04:04 ProfessorManhattan

I had the same problem with the debian-10 boxes. I found downgrading Vagrant from 2.2.16 to 2.2.14 solved the issue for me.

tonybrady avatar Jun 01 '21 21:06 tonybrady

closing this since fedora 33 is no longer supported

Stromweld avatar Jan 20 '23 00:01 Stromweld