1podman-machine-ssh(1)()                                podman-machine-ssh(1)()
2
3
4

NAME

6       podman-machine-ssh - SSH into a virtual machine
7
8

SYNOPSIS

10       podman machine ssh [options] [name] [command [arg ...]]
11
12

DESCRIPTION

14       SSH into a Podman-managed virtual machine and optionally execute a com‐
15       mand on the virtual machine. Unless using the default virtual  machine,
16       the  first argument must be the virtual machine name. The optional com‐
17       mand to execute can then follow. If no command is provided, an interac‐
18       tive session with the virtual machine is established.
19
20

OPTIONS

22   --help
23       Print usage statement.
24
25
26   --username=name
27       Username to use when SSH-ing into the VM.
28
29

EXAMPLES

31       To get an interactive session with the default virtual machine:
32
33
34              $ podman machine ssh
35
36
37
38       To get an interactive session with a VM called myvm:
39
40
41              $ podman machine ssh myvm
42
43
44
45       To run a command on the default virtual machine:
46
47
48              $ podman machine ssh rpm -q podman
49
50
51
52       To run a command on a VM called myvm:
53
54
55              $ podman machine ssh  myvm rpm -q podman
56
57
58

SEE ALSO

60       podman(1), podman-machine(1)
61
62

HISTORY

64       March   2021,   Originally   compiled  by  Ashley  Cui  acui@redhat.com
65       ⟨mailto:acui@redhat.com⟩
66
67
68
69                                                       podman-machine-ssh(1)()
Impressum