Dagger
Search

ssh

No long description provided.

Installation

dagger install github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52

Entrypoint

Return Type
Ssh
Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 call \
func (m *myModule) example() *Ssh  {
	return dag.
			Ssh()
}
@function
def example() -> dag.Ssh:
	return (
		dag.ssh()
	)
@func()
example(): Ssh {
	return dag
		.ssh()
}

Types

Ssh 🔗

baseCtr() 🔗

Return Type
Container !
Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 call \
 base-ctr
func (m *myModule) example() *Container  {
	return dag.
			Ssh().
			BaseCtr()
}
@function
def example() -> dagger.Container:
	return (
		dag.ssh()
		.base_ctr()
	)
@func()
example(): Container {
	return dag
		.ssh()
		.baseCtr()
}

destination() 🔗

Return Type
String !
Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 call \
 destination
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Ssh().
			Destination(ctx)
}
@function
async def example() -> str:
	return await (
		dag.ssh()
		.destination()
	)
@func()
async example(): Promise<string> {
	return dag
		.ssh()
		.destination()
}

opts() 🔗

Return Type
[Object ! ] !
Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 call \
 opts
func (m *myModule) example() []  {
	return dag.
			Ssh().
			Opts()
}
@function
def example() -> List[]:
	return (
		dag.ssh()
		.opts()
	)
@func()
example(): [] {
	return dag
		.ssh()
		.opts()
}

command() 🔗

example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 command –args whoami stdout”

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 call \
 command --args string1 --args string2
func (m *myModule) example(args []string) *Container  {
	return dag.
			Ssh().
			Command(args)
}
@function
def example(args: List[str]) -> dagger.Container:
	return (
		dag.ssh()
		.command(args)
	)
@func()
example(args: string[]): Container {
	return dag
		.ssh()
		.command(args)
}

Sshopts 🔗

identityFile() 🔗

Return Type
Secret !
Example
Function SshSshopts.identityFile is not accessible from the ssh module
Function SshSshopts.identityFile is not accessible from the ssh module
Function SshSshopts.identityFile is not accessible from the ssh module
Function SshSshopts.identityFile is not accessible from the ssh module

port() 🔗

Return Type
Integer !
Example
Function SshSshopts.port is not accessible from the ssh module
Function SshSshopts.port is not accessible from the ssh module
Function SshSshopts.port is not accessible from the ssh module
Function SshSshopts.port is not accessible from the ssh module

login() 🔗

Return Type
String !
Example
Function SshSshopts.login is not accessible from the ssh module
Function SshSshopts.login is not accessible from the ssh module
Function SshSshopts.login is not accessible from the ssh module
Function SshSshopts.login is not accessible from the ssh module