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 [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

EXAMPLES

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

SEE ALSO

56       podman-machine (1)
57
58

HISTORY

60       March   2021,   Originally   compiled  by  Ashley  Cui  acui@redhat.com
61       ⟨mailto:acui@redhat.com⟩
62
63
64
65                                                       podman-machine-ssh(1)()
Impressum