ssh: Update welcome message
This commit is contained in:
parent
8cfb23bed0
commit
7bfcfb3510
2 changed files with 71 additions and 12 deletions
|
|
@ -12,16 +12,6 @@ const (
|
|||
eot rune = 4
|
||||
)
|
||||
|
||||
const welcomeMessage = `Welcome to the WissKI SSH Server.
|
||||
You've successfully authenticated, but we don't provide shell access to the main server.
|
||||
You may use this connection as part of a proxy jump to connect to your server.
|
||||
For example:
|
||||
|
||||
ssh -J %s:2222 www-data@%s
|
||||
|
||||
Press CTRL-C to close this connection.
|
||||
`
|
||||
|
||||
// Server returns an ssh server that implements the main ssh server
|
||||
func (ssh2 *SSH2) Server(context context.Context, privateKeyPath string, io stream.IOStream) (*ssh.Server, error) {
|
||||
var server ssh.Server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue