Versions in this module Expand all Collapse all v0 v0.1.0 Aug 21, 2015 Changes in this version + func MaxPacket(size int) func(*Client) error + type Client struct + func NewClient(conn *ssh.Client, opts ...func(*Client) error) (*Client, error) + func NewClientPipe(rd io.Reader, wr io.WriteCloser, opts ...func(*Client) error) (*Client, error) + func (c *Client) Chmod(path string, mode os.FileMode) error + func (c *Client) Chown(path string, uid, gid int) error + func (c *Client) Chtimes(path string, atime time.Time, mtime time.Time) error + func (c *Client) Close() error + func (c *Client) Create(path string) (*File, error) + func (c *Client) Join(elem ...string) string + func (c *Client) Lstat(p string) (os.FileInfo, error) + func (c *Client) Mkdir(path string) error + func (c *Client) Open(path string) (*File, error) + func (c *Client) OpenFile(path string, f int) (*File, error) + func (c *Client) ReadDir(p string) ([]os.FileInfo, error) + func (c *Client) ReadLink(p string) (string, error) + func (c *Client) Remove(path string) error + func (c *Client) Rename(oldname, newname string) error + func (c *Client) StatVFS(path string) (*StatVFS, error) + func (c *Client) Truncate(path string, size int64) error + func (c *Client) Walk(root string) *fs.Walker + type File struct + func (f *File) Chmod(mode os.FileMode) error + func (f *File) Chown(uid, gid int) error + func (f *File) Close() error + func (f *File) Read(b []byte) (int, error) + func (f *File) ReadFrom(r io.Reader) (int64, error) + func (f *File) Seek(offset int64, whence int) (int64, error) + func (f *File) Stat() (os.FileInfo, error) + func (f *File) Truncate(size int64) error + func (f *File) Write(b []byte) (int, error) + func (f *File) WriteTo(w io.Writer) (int64, error) + type FileStat struct + Atime uint32 + Extended []StatExtended + Gid uint32 + Mode uint32 + Mtime uint32 + Size uint64 + Uid uint32 + type StatExtended struct + ExtData string + ExtType string + type StatVFS struct + Bavail uint64 + Bfree uint64 + Blocks uint64 + Bsize uint64 + Favail uint64 + Ffree uint64 + Files uint64 + Flag uint64 + Frsize uint64 + Fsid uint64 + Id uint32 + Namemax uint64 + func (p *StatVFS) FreeSpace() uint64 + func (p *StatVFS) TotalSpace() uint64 + type StatusError struct + Code uint32 + func (s *StatusError) Error() string