-
- Downloads
Allows the session to be reused for more than one task at a time.
This enables for instance to start an SSH connection, and then use various channels over it. The SSHChannel no longer is a subclass of an SSHSession, which made things awkward when attempting to use the session again. Instead, the session is a field in the channel, and new channels can be constructed from the session if this is available. This also turns off the sample that defaulted to publicKey authentication.
Showing
- Sources/SwiftSH/Channel.swift 28 additions, 17 deletionsSources/SwiftSH/Channel.swift
- Sources/SwiftSH/Command.swift 25 additions, 12 deletionsSources/SwiftSH/Command.swift
- Sources/SwiftSH/SCP.swift 2 additions, 2 deletionsSources/SwiftSH/SCP.swift
- Sources/SwiftSH/SFTP.swift 1 addition, 1 deletionSources/SwiftSH/SFTP.swift
- Sources/SwiftSH/Shell.swift 44 additions, 30 deletionsSources/SwiftSH/Shell.swift
- SwiftSH Example/ShellViewController.swift 8 additions, 1 deletionSwiftSH Example/ShellViewController.swift
Loading
Please register or sign in to comment