Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
private key configurable in config.ini
[controller.git]
/
opendaylight
/
netconf
/
netconf-ssh
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
ssh
/
threads
/
SocketThread.java
diff --git
a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java
b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java
index e5da03b4cf4c9d97765ce098a8c2761b0eda8e39..32de75ca3969a039bbeb0046fc4c2a7b55d3462d 100644
(file)
--- a/
opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java
+++ b/
opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java
@@
-59,8
+59,8
@@
public class SocketThread implements Runnable, ServerAuthenticationCallback, Ser
conn = new ServerConnection(socket);
try {
conn.setPEMHostKey(authProvider.getPEMAsCharArray(),"netconf");
conn = new ServerConnection(socket);
try {
conn.setPEMHostKey(authProvider.getPEMAsCharArray(),"netconf");
- } catch (
IO
Exception e) {
-
e.printStackTrace(
);
+ } catch (Exception e) {
+
logger.debug("Server authentication setup failed."
);
}
conn.setAuthenticationCallback(this);
conn.setServerConnectionCallback(this);
}
conn.setAuthenticationCallback(this);
conn.setServerConnectionCallback(this);