[−][src]Struct thrussh::server::Config
Configuration of a server.
Fields
server_id: String
The server ID string sent at the beginning of the protocol.
methods: MethodSet
Authentication methods proposed to the client.
The authentication banner, usually a warning message shown to the client.
auth_rejection_time: Duration
Authentication rejections must happen in constant time for security reasons. Thrussh does not handle this by default.
keys: Vec<KeyPair>
The server's keys. The first key pair in the client's preference order will be chosen.
limits: Limits
The bytes and time limits before key re-exchange.
window_size: u32
The initial size of a channel (used for flow control).
maximum_packet_size: u32
The maximal size of a single packet.
preferred: Preferred
Lists of preferred algorithms.
max_auth_attempts: usize
Maximal number of allowed authentication attempts.
connection_timeout: Option<Duration>
Time after which the connection is garbage-collected.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,