Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webssh
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑天保
webssh
Commits
c5c4f570
Commit
c5c4f570
authored
7 years ago
by
Sheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified error message
parent
02c56e7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
main.py
main.py
+2
-4
No files found.
main.py
View file @
c5c4f570
...
...
@@ -144,11 +144,9 @@ class IndexHandler(tornado.web.RequestHandler):
or
self
.
get_specific_pkey
(
paramiko
.
ECDSAKey
,
privatekey
,
password
)
\
or
self
.
get_specific_pkey
(
paramiko
.
Ed25519Key
,
privatekey
,
password
)
if
not
pkey
:
raise
ValueError
(
'Wrong password for decrypting the private key'
' or the private key is not valid.'
)
raise
ValueError
(
'Not a valid private key file or '
'wrong password for decrypting the private key.'
)
return
pkey
def
get_port
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment