Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit223540e

Browse files
committed
Upgrade dep
1 parent70d3723 commit223540e

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

‎agent/agent.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ func (s *server) init(ctx context.Context) {
100100
forwardHandler:=&ssh.ForwardedTCPHandler{}
101101
s.sshServer=&ssh.Server{
102102
ChannelHandlers:ssh.DefaultChannelHandlers,
103+
ConnectionFailedCallback:func(conn net.Conn,errerror) {
104+
sshLogger.Info(ctx,"ssh connection ended",slog.Error(err))
105+
},
103106
Handler:func(session ssh.Session) {
104107
err:=s.handleSSHSession(session)
105108
iferr!=nil {

‎go.mod‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/coder/retryv1.3.0
2121
github.com/creack/ptyv1.1.17
2222
github.com/fatih/colorv1.13.0
23-
github.com/gliderlabs/sshv0.2.2
23+
github.com/gliderlabs/sshv0.3.3
2424
github.com/go-chi/chi/v5v5.0.7
2525
github.com/go-chi/renderv1.0.1
2626
github.com/go-playground/validator/v10v10.10.0
@@ -65,7 +65,7 @@ require (
6565
github.com/Nvveen/Gottyv0.0.0-20120604004816-cd527374f1e5// indirect
6666
github.com/agext/levenshteinv1.2.3// indirect
6767
github.com/alecthomas/chromav0.10.0// indirect
68-
github.com/anmitsu/go-shlexv0.0.0-20161002113705-648efa622239// indirect
68+
github.com/anmitsu/go-shlexv0.0.0-20200514113438-38f4b401e2be// indirect
6969
github.com/apparentlymart/go-textseg/v13v13.0.0// indirect
7070
github.com/cenkalti/backoff/v4v4.1.2// indirect
7171
github.com/chzyer/readlinev0.0.0-20180603132655-2972be24d48e// indirect

‎go.sum‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
131131
github.com/alecthomas/unitsv0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
132132
github.com/alexflint/go-filemutexv0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0=
133133
github.com/andybalholm/crlfv0.0.0-20171020200849-670099aa064f/go.mod h1:k8feO4+kXDxro6ErPXBRTJ/ro2mf0SsFG8s7doP9kJE=
134-
github.com/anmitsu/go-shlexv0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
135134
github.com/anmitsu/go-shlexv0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
135+
github.com/anmitsu/go-shlexv0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
136+
github.com/anmitsu/go-shlexv0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
136137
github.com/antihax/optionalv1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
137138
github.com/apache/arrow/go/arrowv0.0.0-20210818145353-234c94e4ce64/go.mod h1:2qMFB56yOP3KzkB3PbYZ4AlUFg3a88F67TIx5lB/WwY=
138139
github.com/apache/arrow/go/arrowv0.0.0-20211013220434-5962184e7a30/go.mod h1:Q7yQnSMnLvcXlZ8RV+jwz/6y1rQTqbX6C82SndT52Zs=
@@ -422,7 +423,6 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL
422423
github.com/fatih/colorv1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
423424
github.com/fatih/colorv1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
424425
github.com/fatih/colorv1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
425-
github.com/flynn/go-shlexv0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
426426
github.com/flynn/go-shlexv0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
427427
github.com/fogleman/ggv1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
428428
github.com/fogleman/ggv1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
@@ -443,8 +443,9 @@ github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE
443443
github.com/gin-contrib/ssev0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
444444
github.com/gin-gonic/ginv1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14=
445445
github.com/gin-gonic/ginv1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=
446-
github.com/gliderlabs/sshv0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0=
447446
github.com/gliderlabs/sshv0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
447+
github.com/gliderlabs/sshv0.3.3 h1:mBQ8NiOgDkINJrZtoizkC3nDNYgSaWtxyem6S2XHBtA=
448+
github.com/gliderlabs/sshv0.3.3/go.mod h1:ZSS+CUoKHDrqVakTfTWUlKSr9MtMFkC4UvtQKD7O914=
448449
github.com/go-chi/chi/v5v5.0.7 h1:rDTPXLDHGATaeHvVlLcR4Qe0zftYethFucbjVQ1PxU8=
449450
github.com/go-chi/chi/v5v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
450451
github.com/go-chi/renderv1.0.1 h1:4/5tis2cKaNdnv9zFLfXzcquC9HbeZgCnxGnKrltBS8=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp