Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Stefano Marinelli boosted
Michael Jack
@mjack@mastodon.bsd.cafe  ·  activity timestamp 2 days ago

Access *BSD Hyper-V guests from your host via ssh:

1) Enable and start the ssh-agent service on your host by running the following in Powershell, as Administrator:

Set-Service -Name "ssh-agent" -StartupType Automatic
Start-Service -Name "ssh-agent"

2) Generate ssh keys on your host, as your regular user:

ssh-keygen

3) Add the following to .ssh/config on your host, as your regular user:

Host *
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519

Host beastie
HostName 172.22.168.238

Adjust HostName to guest IP (run 'ifconfig' on guest)

4) Connect via ssh from your host to your *BSD guest with:

ssh beastie

#runbsd #hyperv #ssh

  • Copy link
  • Flag this post
  • Block
Stefano Marinelli boosted
Michael Jack
@mjack@mastodon.bsd.cafe  ·  activity timestamp 2 days ago

OpenBSD guest on Hyper-V, take 3:

1) Use Generation 1
2) Use MBR

#openbsd #hyperv #psa

Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
  • Copy link
  • Flag this post
  • Block
Michael Jack
@mjack@mastodon.bsd.cafe  ·  activity timestamp 2 days ago

Access *BSD Hyper-V guests from your host via ssh:

1) Enable and start the ssh-agent service on your host by running the following in Powershell, as Administrator:

Set-Service -Name "ssh-agent" -StartupType Automatic
Start-Service -Name "ssh-agent"

2) Generate ssh keys on your host, as your regular user:

ssh-keygen

3) Add the following to .ssh/config on your host, as your regular user:

Host *
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519

Host beastie
HostName 172.22.168.238

Adjust HostName to guest IP (run 'ifconfig' on guest)

4) Connect via ssh from your host to your *BSD guest with:

ssh beastie

#runbsd #hyperv #ssh

  • Copy link
  • Flag this post
  • Block
Michael Jack
@mjack@mastodon.bsd.cafe  ·  activity timestamp 2 days ago

OpenBSD guest on Hyper-V, take 3:

1) Use Generation 1
2) Use MBR

#openbsd #hyperv #psa

Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
Screen shot showing fastfetch output from OpenBSD 7.8, running under Hyper-V
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login