Skip to content

stephenquan/vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

vm

This script makes it easier for Windows host to connect with Linux Hyper-V guest machines with the command:

vm ssh

The guest machine is determined by running arp -a to determine the current IP address from the a saved MAC address. The user is user may be prompted for the SSH username to login. This script assumes a bash scripting environment ( e.g. git-bash ).

The full syntax is:

vm [-select] [-login] ssh [sshoptions] [sshuser@] [sshparameters]

For example, one run the following commands against different users on the same VM:

vm ssh user1@ ls
vm ssh user2@ pwd

About

Shell script for working with Hyper-V VMs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages