This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This releaser cleans up logging and moves to the new logger 0.9.11.
- Loading branch information
Janos Pasztor
committed
Feb 26, 2021
1 parent
48b379f
commit ac844a6
Showing
11 changed files
with
327 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Error/message codes | ||
|
||
| Code | Explanation | | ||
|------|-------------| | ||
| `SSH_ALREADY_RUNNING` | The SSH service is already running. This is a bug. | | ||
| `SSH_START_FAILED` | Failed to start the SSH service. See the error message for details. | | ||
| `SSH_LISTEN_CLOSE_FAILED` | ContainerSSH could not close the listen socket on shutdown. | | ||
| `SSH_AVAILABLE` | This message informs you that the SSH service is now available at the specified location. | | ||
| `SSH_AUTH_UNAVAILABLE` | The attempted authentication method was not available. | | ||
| `SSH_AUTH_FAILED` | Authentication failed. Multiple of these messages may be issued for a single connection. | | ||
| `SSH_AUTH_SUCCESSFUL` | Authentication attempt successful. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package sshserver | ||
|
||
const ( | ||
MConnected = "SSH_CONNECTED" | ||
MDisconnected = "SSH_DISCONNECTED" | ||
EHandshakeFailed = "SSH_HANDSHAKE_FAILED" | ||
MHandshakeSuccessful = "SSH_HANDSHAKE_SUCCESSFUL" | ||
EUnsupportedGlobalRequest = "SSH_UNSUPPORTED_GLOBAL_REQUEST" | ||
EReplyFailed = "SSH_REPLY_SEND_FAILED" | ||
EUnsupportedChannelType = "SSH_UNSUPPORTED_CHANNEL_TYPE" | ||
EAlreadyRunning = "SSH_ALREADY_RUNNING" | ||
EStartFailed = "SSH_START_FAILED" | ||
EListenCloseFailed = "SSH_LISTEN_CLOSE_FAILED" | ||
MNewChannel = "SSH_NEW_CHANNEL" | ||
MNewChannelRejected = "SSH_NEW_CHANNEL_REJECTED" | ||
MServiceAvailable = "SSH_AVAILABLE" | ||
EAuthUnavailable = "SSH_AUTH_UNAVAILABLE" | ||
EAuthFailed = "SSH_AUTH_FAILED" | ||
EAuthSuccessful = "SSH_AUTH_SUCCESSFUL" | ||
EExitCodeFailed = "SSH_EXIT_CODE_FAILED" | ||
EDecodeFailed = "SSH_DECODE_FAILED" | ||
MExit = "SSH_EXIT" | ||
MExitSignal = "SSH_EXIT_SIGNAL" | ||
MChannelRequest = "SSH_CHANNEL_REQUEST" | ||
MChannelRequestFailed = "SSH_CHANNEL_REQUEST_FAILED" | ||
MChannelRequestSuccessful = "SSH_CHANNEL_REQUEST_SUCCESSFUL" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.