Skip navigation links
C D E F H K L M P S V 

C

close() - Method in class com.jcabi.ssh.Sshd
 
com.jcabi.ssh - package com.jcabi.ssh
SSH client.
com.jcabi.ssh.mock - package com.jcabi.ssh.mock
Mock classes used in unit tests.
connect() - Method in class com.jcabi.ssh.Sshd
Get an instance of Shell.
createCommand(String) - Method in class com.jcabi.ssh.mock.MkCommandCreator
 

D

destroy() - Method in class com.jcabi.ssh.mock.MkCommand
 

E

Empty(Shell) - Constructor for class com.jcabi.ssh.Shell.Empty
Ctor.
escape(String) - Static method in class com.jcabi.ssh.Ssh
Escape SSH argument.
exec(String) - Method in class com.jcabi.ssh.Shell.Empty
Just exec.
exec(String, InputStream, OutputStream, OutputStream) - Method in interface com.jcabi.ssh.Shell
Execute and return exit code.
exec(String, InputStream, OutputStream, OutputStream) - Method in class com.jcabi.ssh.Shell.Fake
 
exec(String) - Method in class com.jcabi.ssh.Shell.Plain
Just exec.
exec(String, InputStream, OutputStream, OutputStream) - Method in class com.jcabi.ssh.Shell.Safe
 
exec(String, InputStream, OutputStream, OutputStream) - Method in class com.jcabi.ssh.Shell.Verbose
 

F

Fake() - Constructor for class com.jcabi.ssh.Shell.Fake
Ctor.
Fake(int, String, String) - Constructor for class com.jcabi.ssh.Shell.Fake
Ctor.
Fake(int, byte[], byte[]) - Constructor for class com.jcabi.ssh.Shell.Fake
Ctor.

H

home() - Method in class com.jcabi.ssh.Sshd
Get home dir.
host() - Static method in class com.jcabi.ssh.Sshd
Get host of SSH.

K

key() - Static method in class com.jcabi.ssh.Sshd
Get private SSH key for login.

L

login() - Static method in class com.jcabi.ssh.Sshd
Get user name to login.

M

MkCommand - Class in com.jcabi.ssh.mock
Mock of a command that displays its name.
MkCommandCreator - Class in com.jcabi.ssh.mock
Factory for command.
MkCommandCreator() - Constructor for class com.jcabi.ssh.mock.MkCommandCreator
 

P

Plain(Shell) - Constructor for class com.jcabi.ssh.Shell.Plain
Ctor.
PORT - Static variable in class com.jcabi.ssh.Ssh
Default SSH port.
port() - Method in class com.jcabi.ssh.Sshd
Get port.

S

Safe(Shell) - Constructor for class com.jcabi.ssh.Shell.Safe
Ctor.
session() - Method in class com.jcabi.ssh.Ssh
 
session() - Method in class com.jcabi.ssh.SshByPassword
 
setErrorStream(OutputStream) - Method in class com.jcabi.ssh.mock.MkCommand
 
setExitCallback(ExitCallback) - Method in class com.jcabi.ssh.mock.MkCommand
 
setInputStream(InputStream) - Method in class com.jcabi.ssh.mock.MkCommand
 
setOutputStream(OutputStream) - Method in class com.jcabi.ssh.mock.MkCommand
 
Shell - Interface in com.jcabi.ssh
Shell.
Shell.Empty - Class in com.jcabi.ssh
Without input and output.
Shell.Fake - Class in com.jcabi.ssh
Fake shell for unit testing.
Shell.Plain - Class in com.jcabi.ssh
With output only.
Shell.Safe - Class in com.jcabi.ssh
Safe run (throws if exit code is not zero).
Shell.Verbose - Class in com.jcabi.ssh
Verbose run.
Ssh - Class in com.jcabi.ssh
Single SSH Channel.
Ssh(String, String, URL) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(InetAddress, String, URL) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(String, String, String) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(InetAddress, String, String) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(String, int, String, URL) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(InetAddress, int, String, URL) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(String, int, String, String) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
Ssh(String, int, String, String, String) - Constructor for class com.jcabi.ssh.Ssh
Constructor.
SshByPassword - Class in com.jcabi.ssh
SSH channel with authentication by password.
SshByPassword(String, int, String, String) - Constructor for class com.jcabi.ssh.SshByPassword
Constructor.
Sshd - Class in com.jcabi.ssh
Test SSHD daemon (only for Linux).
Sshd() - Constructor for class com.jcabi.ssh.Sshd
Ctor.
Sshd(File) - Constructor for class com.jcabi.ssh.Sshd
Ctor.
start(Environment) - Method in class com.jcabi.ssh.mock.MkCommand
 

V

Verbose(Shell) - Constructor for class com.jcabi.ssh.Shell.Verbose
Ctor.
C D E F H K L M P S V 
Skip navigation links

Copyright © 2012–2017 jcabi.com. All rights reserved.